|
| 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.cdn.model.v20180510; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | + |
| 19 | +/** |
| 20 | + * @author auto create |
| 21 | + * @version |
| 22 | + */ |
| 23 | +public class SetWaitingRoomConfigRequest extends RpcAcsRequest<SetWaitingRoomConfigResponse> { |
| 24 | + |
| 25 | + public SetWaitingRoomConfigRequest() { |
| 26 | + super("Cdn", "2018-05-10", "SetWaitingRoomConfig"); |
| 27 | + } |
| 28 | + |
| 29 | + private String waitUrl; |
| 30 | + |
| 31 | + private String waitUri; |
| 32 | + |
| 33 | + private Integer maxTimeWait; |
| 34 | + |
| 35 | + private String domainName; |
| 36 | + |
| 37 | + private Integer allowPct; |
| 38 | + |
| 39 | + private Integer gapTime; |
| 40 | + |
| 41 | + private Long ownerId; |
| 42 | + |
| 43 | + public String getWaitUrl() { |
| 44 | + return this.waitUrl; |
| 45 | + } |
| 46 | + |
| 47 | + public void setWaitUrl(String waitUrl) { |
| 48 | + this.waitUrl = waitUrl; |
| 49 | + if(waitUrl != null){ |
| 50 | + putQueryParameter("WaitUrl", waitUrl); |
| 51 | + } |
| 52 | + } |
| 53 | + |
| 54 | + public String getWaitUri() { |
| 55 | + return this.waitUri; |
| 56 | + } |
| 57 | + |
| 58 | + public void setWaitUri(String waitUri) { |
| 59 | + this.waitUri = waitUri; |
| 60 | + if(waitUri != null){ |
| 61 | + putQueryParameter("WaitUri", waitUri); |
| 62 | + } |
| 63 | + } |
| 64 | + |
| 65 | + public Integer getMaxTimeWait() { |
| 66 | + return this.maxTimeWait; |
| 67 | + } |
| 68 | + |
| 69 | + public void setMaxTimeWait(Integer maxTimeWait) { |
| 70 | + this.maxTimeWait = maxTimeWait; |
| 71 | + if(maxTimeWait != null){ |
| 72 | + putQueryParameter("MaxTimeWait", maxTimeWait.toString()); |
| 73 | + } |
| 74 | + } |
| 75 | + |
| 76 | + public String getDomainName() { |
| 77 | + return this.domainName; |
| 78 | + } |
| 79 | + |
| 80 | + public void setDomainName(String domainName) { |
| 81 | + this.domainName = domainName; |
| 82 | + if(domainName != null){ |
| 83 | + putQueryParameter("DomainName", domainName); |
| 84 | + } |
| 85 | + } |
| 86 | + |
| 87 | + public Integer getAllowPct() { |
| 88 | + return this.allowPct; |
| 89 | + } |
| 90 | + |
| 91 | + public void setAllowPct(Integer allowPct) { |
| 92 | + this.allowPct = allowPct; |
| 93 | + if(allowPct != null){ |
| 94 | + putQueryParameter("AllowPct", allowPct.toString()); |
| 95 | + } |
| 96 | + } |
| 97 | + |
| 98 | + public Integer getGapTime() { |
| 99 | + return this.gapTime; |
| 100 | + } |
| 101 | + |
| 102 | + public void setGapTime(Integer gapTime) { |
| 103 | + this.gapTime = gapTime; |
| 104 | + if(gapTime != null){ |
| 105 | + putQueryParameter("GapTime", gapTime.toString()); |
| 106 | + } |
| 107 | + } |
| 108 | + |
| 109 | + public Long getOwnerId() { |
| 110 | + return this.ownerId; |
| 111 | + } |
| 112 | + |
| 113 | + public void setOwnerId(Long ownerId) { |
| 114 | + this.ownerId = ownerId; |
| 115 | + if(ownerId != null){ |
| 116 | + putQueryParameter("OwnerId", ownerId.toString()); |
| 117 | + } |
| 118 | + } |
| 119 | + |
| 120 | + @Override |
| 121 | + public Class<SetWaitingRoomConfigResponse> getResponseClass() { |
| 122 | + return SetWaitingRoomConfigResponse.class; |
| 123 | + } |
| 124 | + |
| 125 | +} |
0 commit comments