Class: TencentCloud::Teo::V20220901::DnsVerification

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

Overview

站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 DNS 解析验证时所需的信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subdomain = nil, recordtype = nil, recordvalue = nil) ⇒ DnsVerification

Returns a new instance of DnsVerification.



12158
12159
12160
12161
12162
# File 'lib/v20220901/models.rb', line 12158

def initialize(subdomain=nil, recordtype=nil, recordvalue=nil)
  @Subdomain = subdomain
  @RecordType = recordtype
  @RecordValue = recordvalue
end

Instance Attribute Details

#RecordTypeObject

Parameters:

  • Subdomain:

    主机记录。

  • RecordType:

    记录类型。

  • RecordValue:

    记录值。



12156
12157
12158
# File 'lib/v20220901/models.rb', line 12156

def RecordType
  @RecordType
end

#RecordValueObject

Parameters:

  • Subdomain:

    主机记录。

  • RecordType:

    记录类型。

  • RecordValue:

    记录值。



12156
12157
12158
# File 'lib/v20220901/models.rb', line 12156

def RecordValue
  @RecordValue
end

#SubdomainObject

Parameters:

  • Subdomain:

    主机记录。

  • RecordType:

    记录类型。

  • RecordValue:

    记录值。



12156
12157
12158
# File 'lib/v20220901/models.rb', line 12156

def Subdomain
  @Subdomain
end

Instance Method Details

#deserialize(params) ⇒ Object



12164
12165
12166
12167
12168
# File 'lib/v20220901/models.rb', line 12164

def deserialize(params)
  @Subdomain = params['Subdomain']
  @RecordType = params['RecordType']
  @RecordValue = params['RecordValue']
end