|
| 1 | +# coding=utf8 |
| 2 | + |
| 3 | +# Copyright 2018 JDCLOUD.COM |
| 4 | +# |
| 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +# you may not use this file except in compliance with the License. |
| 7 | +# You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | +# NOTE: This class is auto generated by the jdcloud code generator program. |
| 18 | + |
| 19 | +from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest |
| 20 | + |
| 21 | + |
| 22 | +class DescribeLiveStreamPublishInfoByPageRequest(JDCloudRequest): |
| 23 | + """ |
| 24 | + 查询推流码率、帧率 |
| 25 | + """ |
| 26 | + |
| 27 | + def __init__(self, parameters, header=None, version="v1"): |
| 28 | + super(DescribeLiveStreamPublishInfoByPageRequest, self).__init__( |
| 29 | + '/describeLiveStreamPublishInfoByPage', 'GET', header, version) |
| 30 | + self.parameters = parameters |
| 31 | + |
| 32 | + |
| 33 | +class DescribeLiveStreamPublishInfoByPageParameters(object): |
| 34 | + |
| 35 | + def __init__(self, domainName, startTime, ): |
| 36 | + """ |
| 37 | + :param domainName: 推流域名 |
| 38 | + :param startTime: 起始时间 |
| 39 | +- UTC时间 |
| 40 | + 格式:yyyy-MM-dd'T'HH:mm:ss'Z' |
| 41 | + 示例:2018-10-21T10:00:00Z |
| 42 | +
|
| 43 | + """ |
| 44 | + |
| 45 | + self.domainName = domainName |
| 46 | + self.appName = None |
| 47 | + self.streamName = None |
| 48 | + self.startTime = startTime |
| 49 | + self.endTime = None |
| 50 | + self.pageNumber = None |
| 51 | + self.pageSize = None |
| 52 | + |
| 53 | + def setAppName(self, appName): |
| 54 | + """ |
| 55 | + :param appName: (Optional) 应用名称 |
| 56 | + """ |
| 57 | + self.appName = appName |
| 58 | + |
| 59 | + def setStreamName(self, streamName): |
| 60 | + """ |
| 61 | + :param streamName: (Optional) 流名称 |
| 62 | + """ |
| 63 | + self.streamName = streamName |
| 64 | + |
| 65 | + def setEndTime(self, endTime): |
| 66 | + """ |
| 67 | + :param endTime: (Optional) 结束时间: |
| 68 | +- UTC时间 |
| 69 | + 格式:yyyy-MM-dd'T'HH:mm:ss'Z' |
| 70 | + 示例:2018-10-21T10:00:00Z |
| 71 | +- 为空,默认为当前时间 |
| 72 | +
|
| 73 | + """ |
| 74 | + self.endTime = endTime |
| 75 | + |
| 76 | + def setPageNumber(self, pageNumber): |
| 77 | + """ |
| 78 | + :param pageNumber: (Optional) 页码,起始页码1 |
| 79 | +
|
| 80 | + """ |
| 81 | + self.pageNumber = pageNumber |
| 82 | + |
| 83 | + def setPageSize(self, pageSize): |
| 84 | + """ |
| 85 | + :param pageSize: (Optional) 每页最大记录数,取值:[10,1000],默认:100 |
| 86 | +
|
| 87 | + """ |
| 88 | + self.pageSize = pageSize |
| 89 | + |
0 commit comments