|
| 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 | + |
| 19 | +/** |
| 20 | + * @author auto create |
| 21 | + * @version |
| 22 | + */ |
| 23 | +public class AddMCTemplateRequest extends RpcAcsRequest<AddMCTemplateResponse> { |
| 24 | + |
| 25 | + public AddMCTemplateRequest() { |
| 26 | + super("Mts", "2014-06-18", "AddMCTemplate", "mts"); |
| 27 | + } |
| 28 | + |
| 29 | + private String politics; |
| 30 | + |
| 31 | + private Long resourceOwnerId; |
| 32 | + |
| 33 | + private String contraband; |
| 34 | + |
| 35 | + private String ad; |
| 36 | + |
| 37 | + private String abuse; |
| 38 | + |
| 39 | + private String resourceOwnerAccount; |
| 40 | + |
| 41 | + private String qrcode; |
| 42 | + |
| 43 | + private String ownerAccount; |
| 44 | + |
| 45 | + private Long ownerId; |
| 46 | + |
| 47 | + private String porn; |
| 48 | + |
| 49 | + private String terrorism; |
| 50 | + |
| 51 | + private String name; |
| 52 | + |
| 53 | + private String logo; |
| 54 | + |
| 55 | + private String spam; |
| 56 | + |
| 57 | + private String live; |
| 58 | + |
| 59 | + public String getPolitics() { |
| 60 | + return this.politics; |
| 61 | + } |
| 62 | + |
| 63 | + public void setPolitics(String politics) { |
| 64 | + this.politics = politics; |
| 65 | + if(politics != null){ |
| 66 | + putQueryParameter("Politics", politics); |
| 67 | + } |
| 68 | + } |
| 69 | + |
| 70 | + public Long getResourceOwnerId() { |
| 71 | + return this.resourceOwnerId; |
| 72 | + } |
| 73 | + |
| 74 | + public void setResourceOwnerId(Long resourceOwnerId) { |
| 75 | + this.resourceOwnerId = resourceOwnerId; |
| 76 | + if(resourceOwnerId != null){ |
| 77 | + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); |
| 78 | + } |
| 79 | + } |
| 80 | + |
| 81 | + public String getContraband() { |
| 82 | + return this.contraband; |
| 83 | + } |
| 84 | + |
| 85 | + public void setContraband(String contraband) { |
| 86 | + this.contraband = contraband; |
| 87 | + if(contraband != null){ |
| 88 | + putQueryParameter("Contraband", contraband); |
| 89 | + } |
| 90 | + } |
| 91 | + |
| 92 | + public String getAd() { |
| 93 | + return this.ad; |
| 94 | + } |
| 95 | + |
| 96 | + public void setAd(String ad) { |
| 97 | + this.ad = ad; |
| 98 | + if(ad != null){ |
| 99 | + putQueryParameter("Ad", ad); |
| 100 | + } |
| 101 | + } |
| 102 | + |
| 103 | + public String getAbuse() { |
| 104 | + return this.abuse; |
| 105 | + } |
| 106 | + |
| 107 | + public void setAbuse(String abuse) { |
| 108 | + this.abuse = abuse; |
| 109 | + if(abuse != null){ |
| 110 | + putQueryParameter("Abuse", abuse); |
| 111 | + } |
| 112 | + } |
| 113 | + |
| 114 | + public String getResourceOwnerAccount() { |
| 115 | + return this.resourceOwnerAccount; |
| 116 | + } |
| 117 | + |
| 118 | + public void setResourceOwnerAccount(String resourceOwnerAccount) { |
| 119 | + this.resourceOwnerAccount = resourceOwnerAccount; |
| 120 | + if(resourceOwnerAccount != null){ |
| 121 | + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); |
| 122 | + } |
| 123 | + } |
| 124 | + |
| 125 | + public String getQrcode() { |
| 126 | + return this.qrcode; |
| 127 | + } |
| 128 | + |
| 129 | + public void setQrcode(String qrcode) { |
| 130 | + this.qrcode = qrcode; |
| 131 | + if(qrcode != null){ |
| 132 | + putQueryParameter("Qrcode", qrcode); |
| 133 | + } |
| 134 | + } |
| 135 | + |
| 136 | + public String getOwnerAccount() { |
| 137 | + return this.ownerAccount; |
| 138 | + } |
| 139 | + |
| 140 | + public void setOwnerAccount(String ownerAccount) { |
| 141 | + this.ownerAccount = ownerAccount; |
| 142 | + if(ownerAccount != null){ |
| 143 | + putQueryParameter("OwnerAccount", ownerAccount); |
| 144 | + } |
| 145 | + } |
| 146 | + |
| 147 | + public Long getOwnerId() { |
| 148 | + return this.ownerId; |
| 149 | + } |
| 150 | + |
| 151 | + public void setOwnerId(Long ownerId) { |
| 152 | + this.ownerId = ownerId; |
| 153 | + if(ownerId != null){ |
| 154 | + putQueryParameter("OwnerId", ownerId.toString()); |
| 155 | + } |
| 156 | + } |
| 157 | + |
| 158 | + public String getPorn() { |
| 159 | + return this.porn; |
| 160 | + } |
| 161 | + |
| 162 | + public void setPorn(String porn) { |
| 163 | + this.porn = porn; |
| 164 | + if(porn != null){ |
| 165 | + putQueryParameter("Porn", porn); |
| 166 | + } |
| 167 | + } |
| 168 | + |
| 169 | + public String getTerrorism() { |
| 170 | + return this.terrorism; |
| 171 | + } |
| 172 | + |
| 173 | + public void setTerrorism(String terrorism) { |
| 174 | + this.terrorism = terrorism; |
| 175 | + if(terrorism != null){ |
| 176 | + putQueryParameter("Terrorism", terrorism); |
| 177 | + } |
| 178 | + } |
| 179 | + |
| 180 | + public String getName() { |
| 181 | + return this.name; |
| 182 | + } |
| 183 | + |
| 184 | + public void setName(String name) { |
| 185 | + this.name = name; |
| 186 | + if(name != null){ |
| 187 | + putQueryParameter("Name", name); |
| 188 | + } |
| 189 | + } |
| 190 | + |
| 191 | + public String getLogo() { |
| 192 | + return this.logo; |
| 193 | + } |
| 194 | + |
| 195 | + public void setLogo(String logo) { |
| 196 | + this.logo = logo; |
| 197 | + if(logo != null){ |
| 198 | + putQueryParameter("Logo", logo); |
| 199 | + } |
| 200 | + } |
| 201 | + |
| 202 | + public String getSpam() { |
| 203 | + return this.spam; |
| 204 | + } |
| 205 | + |
| 206 | + public void setSpam(String spam) { |
| 207 | + this.spam = spam; |
| 208 | + if(spam != null){ |
| 209 | + putQueryParameter("spam", spam); |
| 210 | + } |
| 211 | + } |
| 212 | + |
| 213 | + public String getLive() { |
| 214 | + return this.live; |
| 215 | + } |
| 216 | + |
| 217 | + public void setLive(String live) { |
| 218 | + this.live = live; |
| 219 | + if(live != null){ |
| 220 | + putQueryParameter("Live", live); |
| 221 | + } |
| 222 | + } |
| 223 | + |
| 224 | + @Override |
| 225 | + public Class<AddMCTemplateResponse> getResponseClass() { |
| 226 | + return AddMCTemplateResponse.class; |
| 227 | + } |
| 228 | + |
| 229 | +} |
0 commit comments