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.



665
666
667
668
669
670
671
# File 'lib/v20201002/models.rb', line 665

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



663
664
665
# File 'lib/v20201002/models.rb', line 663

def CurrentValue
  @CurrentValue
end

#ExpectedValueObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

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



663
664
665
# File 'lib/v20201002/models.rb', line 663

def ExpectedValue
  @ExpectedValue
end

#SendDomainObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

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



663
664
665
# File 'lib/v20201002/models.rb', line 663

def SendDomain
  @SendDomain
end

#StatusObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

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



663
664
665
# File 'lib/v20201002/models.rb', line 663

def Status
  @Status
end

#TypeObject

Parameters:

  • Type:

    记录类型 CNAME | A | TXT | MX

  • SendDomain:

    域名

  • ExpectedValue:

    需要配置的值

  • CurrentValue:

    腾讯云目前检测到的值

  • Status:

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



663
664
665
# File 'lib/v20201002/models.rb', line 663

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



673
674
675
676
677
678
679
# File 'lib/v20201002/models.rb', line 673

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