|
| 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.live.model.v20161101; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | +import com.aliyuncs.http.ProtocolType; |
| 19 | +import com.aliyuncs.http.MethodType; |
| 20 | +import com.aliyuncs.live.Endpoint; |
| 21 | + |
| 22 | +/** |
| 23 | + * @author auto create |
| 24 | + * @version |
| 25 | + */ |
| 26 | +public class DescribeLiveUserStreamMetricDataRequest extends RpcAcsRequest<DescribeLiveUserStreamMetricDataResponse> { |
| 27 | + |
| 28 | + |
| 29 | + private String startTime; |
| 30 | + |
| 31 | + private Long pageNumber; |
| 32 | + |
| 33 | + private String protocol; |
| 34 | + |
| 35 | + private String appName; |
| 36 | + |
| 37 | + private Long pageSize; |
| 38 | + |
| 39 | + private String streamName; |
| 40 | + |
| 41 | + private String domainName; |
| 42 | + |
| 43 | + private String endTime; |
| 44 | + public DescribeLiveUserStreamMetricDataRequest() { |
| 45 | + super("live", "2016-11-01", "DescribeLiveUserStreamMetricData", "live"); |
| 46 | + setProtocol(ProtocolType.HTTPS); |
| 47 | + setMethod(MethodType.POST); |
| 48 | + try { |
| 49 | + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); |
| 50 | + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); |
| 51 | + } catch (Exception e) {} |
| 52 | + } |
| 53 | + |
| 54 | + public String getStartTime() { |
| 55 | + return this.startTime; |
| 56 | + } |
| 57 | + |
| 58 | + public void setStartTime(String startTime) { |
| 59 | + this.startTime = startTime; |
| 60 | + if(startTime != null){ |
| 61 | + putQueryParameter("StartTime", startTime); |
| 62 | + } |
| 63 | + } |
| 64 | + |
| 65 | + public Long getPageNumber() { |
| 66 | + return this.pageNumber; |
| 67 | + } |
| 68 | + |
| 69 | + public void setPageNumber(Long pageNumber) { |
| 70 | + this.pageNumber = pageNumber; |
| 71 | + if(pageNumber != null){ |
| 72 | + putQueryParameter("PageNumber", pageNumber.toString()); |
| 73 | + } |
| 74 | + } |
| 75 | + |
| 76 | + public String getBizProtocol() { |
| 77 | + return this.protocol; |
| 78 | + } |
| 79 | + |
| 80 | + public void setBizProtocol(String protocol) { |
| 81 | + this.protocol = protocol; |
| 82 | + if(protocol != null){ |
| 83 | + putQueryParameter("Protocol", protocol); |
| 84 | + } |
| 85 | + } |
| 86 | + |
| 87 | + public String getAppName() { |
| 88 | + return this.appName; |
| 89 | + } |
| 90 | + |
| 91 | + public void setAppName(String appName) { |
| 92 | + this.appName = appName; |
| 93 | + if(appName != null){ |
| 94 | + putQueryParameter("AppName", appName); |
| 95 | + } |
| 96 | + } |
| 97 | + |
| 98 | + public Long getPageSize() { |
| 99 | + return this.pageSize; |
| 100 | + } |
| 101 | + |
| 102 | + public void setPageSize(Long pageSize) { |
| 103 | + this.pageSize = pageSize; |
| 104 | + if(pageSize != null){ |
| 105 | + putQueryParameter("PageSize", pageSize.toString()); |
| 106 | + } |
| 107 | + } |
| 108 | + |
| 109 | + public String getStreamName() { |
| 110 | + return this.streamName; |
| 111 | + } |
| 112 | + |
| 113 | + public void setStreamName(String streamName) { |
| 114 | + this.streamName = streamName; |
| 115 | + if(streamName != null){ |
| 116 | + putQueryParameter("StreamName", streamName); |
| 117 | + } |
| 118 | + } |
| 119 | + |
| 120 | + public String getDomainName() { |
| 121 | + return this.domainName; |
| 122 | + } |
| 123 | + |
| 124 | + public void setDomainName(String domainName) { |
| 125 | + this.domainName = domainName; |
| 126 | + if(domainName != null){ |
| 127 | + putQueryParameter("DomainName", domainName); |
| 128 | + } |
| 129 | + } |
| 130 | + |
| 131 | + public String getEndTime() { |
| 132 | + return this.endTime; |
| 133 | + } |
| 134 | + |
| 135 | + public void setEndTime(String endTime) { |
| 136 | + this.endTime = endTime; |
| 137 | + if(endTime != null){ |
| 138 | + putQueryParameter("EndTime", endTime); |
| 139 | + } |
| 140 | + } |
| 141 | + |
| 142 | + @Override |
| 143 | + public Class<DescribeLiveUserStreamMetricDataResponse> getResponseClass() { |
| 144 | + return DescribeLiveUserStreamMetricDataResponse.class; |
| 145 | + } |
| 146 | + |
| 147 | +} |
0 commit comments