Class: TencentCloud::Live::V20180801::LiveCertDomainInfo

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

Overview

用作批量绑定域名和证书。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domainname = nil, status = nil) ⇒ LiveCertDomainInfo

Returns a new instance of LiveCertDomainInfo.



11158
11159
11160
11161
# File 'lib/v20180801/models.rb', line 11158

def initialize(domainname=nil, status=nil)
  @DomainName = domainname
  @Status = status
end

Instance Attribute Details

#DomainNameObject

1:启用0:禁用-1:保持不变

Parameters:

  • DomainName:

    域名。

  • Status:

    是否启用域名的https规则。



11156
11157
11158
# File 'lib/v20180801/models.rb', line 11156

def DomainName
  @DomainName
end

#StatusObject

1:启用0:禁用-1:保持不变

Parameters:

  • DomainName:

    域名。

  • Status:

    是否启用域名的https规则。



11156
11157
11158
# File 'lib/v20180801/models.rb', line 11156

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



11163
11164
11165
11166
# File 'lib/v20180801/models.rb', line 11163

def deserialize(params)
  @DomainName = params['DomainName']
  @Status = params['Status']
end