Class: TencentCloud::Ses::V20201002::DNSAttributes

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

Overview

用于描述DNS记录的域名、记录类型、期望得到的值、目前配置的值

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, senddomain = nil, expectedvalue = nil, currentvalue = nil, status = nil) ⇒ DNSAttributes

Returns a new instance of DNSAttributes.



569
570
571
572
573
574
575
# File 'lib/v20201002/models.rb', line 569

def initialize(type=nil, senddomain=nil, expectedvalue=nil, currentvalue=nil, status=nil)
  @Type = type
  @SendDomain = senddomain
  @ExpectedValue = expectedvalue
  @CurrentValue = currentvalue
  @Status = status
end

Instance Attribute Details

#CurrentValueObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

    检测是否通过,创建时默认为false



567
568
569
# File 'lib/v20201002/models.rb', line 567

def CurrentValue
  @CurrentValue
end

#ExpectedValueObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

    检测是否通过,创建时默认为false



567
568
569
# File 'lib/v20201002/models.rb', line 567

def ExpectedValue
  @ExpectedValue
end

#SendDomainObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

    检测是否通过,创建时默认为false



567
568
569
# File 'lib/v20201002/models.rb', line 567

def SendDomain
  @SendDomain
end

#StatusObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

    检测是否通过,创建时默认为false



567
568
569
# File 'lib/v20201002/models.rb', line 567

def Status
  @Status
end

#TypeObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

    检测是否通过,创建时默认为false



567
568
569
# File 'lib/v20201002/models.rb', line 567

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



577
578
579
580
581
582
583
# File 'lib/v20201002/models.rb', line 577

def deserialize(params)
  @Type = params['Type']
  @SendDomain = params['SendDomain']
  @ExpectedValue = params['ExpectedValue']
  @CurrentValue = params['CurrentValue']
  @Status = params['Status']
end