Source code for jdcloud_sdk.services.live.models.File

# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


[docs]class File(object): def __init__(self, publishDomain=None, appName=None, streamName=None, startTime=None, endTime=None, duration=None, height=None, width=None, ossBucket=None, ossEndpoint=None, ossObject=None): """ :param publishDomain: (Optional) 推流域名 :param appName: (Optional) 应用名称 :param streamName: (Optional) 流名称 :param startTime: (Optional) 开始时间 - UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z :param endTime: (Optional) 结束时间 - UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z :param duration: (Optional) 录制时长 :param height: (Optional) 视频高 :param width: (Optional) 视频宽 :param ossBucket: (Optional) OSSBucket的名称 :param ossEndpoint: (Optional) OSSEndpoint域名 :param ossObject: (Optional) OSSObject """ self.publishDomain = publishDomain self.appName = appName self.streamName = streamName self.startTime = startTime self.endTime = endTime self.duration = duration self.height = height self.width = width self.ossBucket = ossBucket self.ossEndpoint = ossEndpoint self.ossObject = ossObject