|
| 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.mts.model.v20140618; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | +import com.aliyuncs.http.MethodType; |
| 19 | +import com.aliyuncs.mts.Endpoint; |
| 20 | + |
| 21 | +/** |
| 22 | + * @author auto create |
| 23 | + * @version |
| 24 | + */ |
| 25 | +public class CreateFpShotDBRequest extends RpcAcsRequest<CreateFpShotDBResponse> { |
| 26 | + |
| 27 | + |
| 28 | + private Long resourceOwnerId; |
| 29 | + |
| 30 | + private String description; |
| 31 | + |
| 32 | + private String resourceOwnerAccount; |
| 33 | + |
| 34 | + private Integer modelId; |
| 35 | + |
| 36 | + private String ownerAccount; |
| 37 | + |
| 38 | + private Long ownerId; |
| 39 | + |
| 40 | + private String name; |
| 41 | + |
| 42 | + private String config; |
| 43 | + public CreateFpShotDBRequest() { |
| 44 | + super("Mts", "2014-06-18", "CreateFpShotDB", "mts"); |
| 45 | + setMethod(MethodType.POST); |
| 46 | + try { |
| 47 | + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); |
| 48 | + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); |
| 49 | + } catch (Exception e) {} |
| 50 | + } |
| 51 | + |
| 52 | + public Long getResourceOwnerId() { |
| 53 | + return this.resourceOwnerId; |
| 54 | + } |
| 55 | + |
| 56 | + public void setResourceOwnerId(Long resourceOwnerId) { |
| 57 | + this.resourceOwnerId = resourceOwnerId; |
| 58 | + if(resourceOwnerId != null){ |
| 59 | + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); |
| 60 | + } |
| 61 | + } |
| 62 | + |
| 63 | + public String getDescription() { |
| 64 | + return this.description; |
| 65 | + } |
| 66 | + |
| 67 | + public void setDescription(String description) { |
| 68 | + this.description = description; |
| 69 | + if(description != null){ |
| 70 | + putQueryParameter("Description", description); |
| 71 | + } |
| 72 | + } |
| 73 | + |
| 74 | + public String getResourceOwnerAccount() { |
| 75 | + return this.resourceOwnerAccount; |
| 76 | + } |
| 77 | + |
| 78 | + public void setResourceOwnerAccount(String resourceOwnerAccount) { |
| 79 | + this.resourceOwnerAccount = resourceOwnerAccount; |
| 80 | + if(resourceOwnerAccount != null){ |
| 81 | + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); |
| 82 | + } |
| 83 | + } |
| 84 | + |
| 85 | + public Integer getModelId() { |
| 86 | + return this.modelId; |
| 87 | + } |
| 88 | + |
| 89 | + public void setModelId(Integer modelId) { |
| 90 | + this.modelId = modelId; |
| 91 | + if(modelId != null){ |
| 92 | + putQueryParameter("ModelId", modelId.toString()); |
| 93 | + } |
| 94 | + } |
| 95 | + |
| 96 | + public String getOwnerAccount() { |
| 97 | + return this.ownerAccount; |
| 98 | + } |
| 99 | + |
| 100 | + public void setOwnerAccount(String ownerAccount) { |
| 101 | + this.ownerAccount = ownerAccount; |
| 102 | + if(ownerAccount != null){ |
| 103 | + putQueryParameter("OwnerAccount", ownerAccount); |
| 104 | + } |
| 105 | + } |
| 106 | + |
| 107 | + public Long getOwnerId() { |
| 108 | + return this.ownerId; |
| 109 | + } |
| 110 | + |
| 111 | + public void setOwnerId(Long ownerId) { |
| 112 | + this.ownerId = ownerId; |
| 113 | + if(ownerId != null){ |
| 114 | + putQueryParameter("OwnerId", ownerId.toString()); |
| 115 | + } |
| 116 | + } |
| 117 | + |
| 118 | + public String getName() { |
| 119 | + return this.name; |
| 120 | + } |
| 121 | + |
| 122 | + public void setName(String name) { |
| 123 | + this.name = name; |
| 124 | + if(name != null){ |
| 125 | + putQueryParameter("Name", name); |
| 126 | + } |
| 127 | + } |
| 128 | + |
| 129 | + public String getConfig() { |
| 130 | + return this.config; |
| 131 | + } |
| 132 | + |
| 133 | + public void setConfig(String config) { |
| 134 | + this.config = config; |
| 135 | + if(config != null){ |
| 136 | + putQueryParameter("Config", config); |
| 137 | + } |
| 138 | + } |
| 139 | + |
| 140 | + @Override |
| 141 | + public Class<CreateFpShotDBResponse> getResponseClass() { |
| 142 | + return CreateFpShotDBResponse.class; |
| 143 | + } |
| 144 | + |
| 145 | +} |
0 commit comments