Class: TencentCloud::Ses::V20201002::DNSAttributes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::DNSAttributes
- Defined in:
- lib/v20201002/models.rb
Overview
用于描述DNS记录的域名、记录类型、期望得到的值、目前配置的值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, senddomain = nil, expectedvalue = nil, currentvalue = nil, status = nil) ⇒ DNSAttributes
constructor
A new instance of DNSAttributes.
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
#CurrentValue ⇒ Object
567 568 569 |
# File 'lib/v20201002/models.rb', line 567 def CurrentValue @CurrentValue end |
#ExpectedValue ⇒ Object
567 568 569 |
# File 'lib/v20201002/models.rb', line 567 def ExpectedValue @ExpectedValue end |
#SendDomain ⇒ Object
567 568 569 |
# File 'lib/v20201002/models.rb', line 567 def SendDomain @SendDomain end |
#Status ⇒ Object
567 568 569 |
# File 'lib/v20201002/models.rb', line 567 def Status @Status end |
#Type ⇒ Object
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 |