Class: TencentCloud::Vod::V20180717::DescribeDefaultDistributionConfigResponse

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20180717/models.rb

Overview

DescribeDefaultDistributionConfig返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domainname = nil, domain = nil, scheme = nil, playkey = nil, requestid = nil) ⇒ DescribeDefaultDistributionConfigResponse

Returns a new instance of DescribeDefaultDistributionConfigResponse.



10714
10715
10716
10717
10718
10719
10720
# File 'lib/v20180717/models.rb', line 10714

def initialize(domainname=nil, domain=nil, scheme=nil, playkey=nil, requestid=nil)
  @DomainName = domainname
  @Domain = domain
  @Scheme = scheme
  @PlayKey = playkey
  @RequestId = requestid
end

Instance Attribute Details

#DomainObject

Parameters:

  • DomainName:

    分发配置的域名(已废弃)。

  • Domain:

    分发配置的域名。

  • Scheme:

    分发配置的协议,为 HTTP 或 HTTPS。

  • PlayKey:

    播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10709
10710
10711
# File 'lib/v20180717/models.rb', line 10709

def Domain
  @Domain
end

#DomainNameObject

Parameters:

  • DomainName:

    分发配置的域名(已废弃)。

  • Domain:

    分发配置的域名。

  • Scheme:

    分发配置的协议,为 HTTP 或 HTTPS。

  • PlayKey:

    播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10709
10710
10711
# File 'lib/v20180717/models.rb', line 10709

def DomainName
  @DomainName
end

#PlayKeyObject

Parameters:

  • DomainName:

    分发配置的域名(已废弃)。

  • Domain:

    分发配置的域名。

  • Scheme:

    分发配置的协议,为 HTTP 或 HTTPS。

  • PlayKey:

    播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10709
10710
10711
# File 'lib/v20180717/models.rb', line 10709

def PlayKey
  @PlayKey
end

#RequestIdObject

Parameters:

  • DomainName:

    分发配置的域名(已废弃)。

  • Domain:

    分发配置的域名。

  • Scheme:

    分发配置的协议,为 HTTP 或 HTTPS。

  • PlayKey:

    播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10709
10710
10711
# File 'lib/v20180717/models.rb', line 10709

def RequestId
  @RequestId
end

#SchemeObject

Parameters:

  • DomainName:

    分发配置的域名(已废弃)。

  • Domain:

    分发配置的域名。

  • Scheme:

    分发配置的协议,为 HTTP 或 HTTPS。

  • PlayKey:

    播放密钥,由大小写字母(a - Z)或者数字(0 - 9)组成,长度在8 - 20个字符之间。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10709
10710
10711
# File 'lib/v20180717/models.rb', line 10709

def Scheme
  @Scheme
end

Instance Method Details

#deserialize(params) ⇒ Object



10722
10723
10724
10725
10726
10727
10728
# File 'lib/v20180717/models.rb', line 10722

def deserialize(params)
  @DomainName = params['DomainName']
  @Domain = params['Domain']
  @Scheme = params['Scheme']
  @PlayKey = params['PlayKey']
  @RequestId = params['RequestId']
end