Class: TencentCloud::Live::V20180801::ForbidLiveStreamRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180801/models.rb

Overview

ForbidLiveStream请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appname = nil, domainname = nil, streamname = nil, resumetime = nil, reason = nil) ⇒ ForbidLiveStreamRequest

Returns a new instance of ForbidLiveStreamRequest.



10931
10932
10933
10934
10935
10936
10937
# File 'lib/v20180801/models.rb', line 10931

def initialize(appname=nil, domainname=nil, streamname=nil, resumetime=nil, reason=nil)
  @AppName = appname
  @DomainName = domainname
  @StreamName = streamname
  @ResumeTime = resumetime
  @Reason = reason
end

Instance Attribute Details

#AppNameObject

注意:

  1. 默认禁推7天,且最长支持禁推90天。

  2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/267/38543#I)。

注明:请务必填写禁推原因,防止误操作。长度限制:2048字节。

Parameters:

  • AppName:

    推流路径,与推流和播放地址中的AppName保持一致,默认为 live。

  • DomainName:

    您的推流域名。

  • StreamName:

    流名称。

  • ResumeTime:

    恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。

  • Reason:

    禁推原因。



10929
10930
10931
# File 'lib/v20180801/models.rb', line 10929

def AppName
  @AppName
end

#DomainNameObject

注意:

  1. 默认禁推7天,且最长支持禁推90天。

  2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/267/38543#I)。

注明:请务必填写禁推原因,防止误操作。长度限制:2048字节。

Parameters:

  • AppName:

    推流路径,与推流和播放地址中的AppName保持一致,默认为 live。

  • DomainName:

    您的推流域名。

  • StreamName:

    流名称。

  • ResumeTime:

    恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。

  • Reason:

    禁推原因。



10929
10930
10931
# File 'lib/v20180801/models.rb', line 10929

def DomainName
  @DomainName
end

#ReasonObject

注意:

  1. 默认禁推7天,且最长支持禁推90天。

  2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/267/38543#I)。

注明:请务必填写禁推原因,防止误操作。长度限制:2048字节。

Parameters:

  • AppName:

    推流路径,与推流和播放地址中的AppName保持一致,默认为 live。

  • DomainName:

    您的推流域名。

  • StreamName:

    流名称。

  • ResumeTime:

    恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。

  • Reason:

    禁推原因。



10929
10930
10931
# File 'lib/v20180801/models.rb', line 10929

def Reason
  @Reason
end

#ResumeTimeObject

注意:

  1. 默认禁推7天,且最长支持禁推90天。

  2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/267/38543#I)。

注明:请务必填写禁推原因,防止误操作。长度限制:2048字节。

Parameters:

  • AppName:

    推流路径,与推流和播放地址中的AppName保持一致,默认为 live。

  • DomainName:

    您的推流域名。

  • StreamName:

    流名称。

  • ResumeTime:

    恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。

  • Reason:

    禁推原因。



10929
10930
10931
# File 'lib/v20180801/models.rb', line 10929

def ResumeTime
  @ResumeTime
end

#StreamNameObject

注意:

  1. 默认禁推7天,且最长支持禁推90天。

  2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/267/38543#I)。

注明:请务必填写禁推原因,防止误操作。长度限制:2048字节。

Parameters:

  • AppName:

    推流路径,与推流和播放地址中的AppName保持一致,默认为 live。

  • DomainName:

    您的推流域名。

  • StreamName:

    流名称。

  • ResumeTime:

    恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。

  • Reason:

    禁推原因。



10929
10930
10931
# File 'lib/v20180801/models.rb', line 10929

def StreamName
  @StreamName
end

Instance Method Details

#deserialize(params) ⇒ Object



10939
10940
10941
10942
10943
10944
10945
# File 'lib/v20180801/models.rb', line 10939

def deserialize(params)
  @AppName = params['AppName']
  @DomainName = params['DomainName']
  @StreamName = params['StreamName']
  @ResumeTime = params['ResumeTime']
  @Reason = params['Reason']
end