Class: TencentCloud::Ses::V20201002::GetEmailIdentityResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::GetEmailIdentityResponse
- Defined in:
- lib/v20201002/models.rb
Overview
GetEmailIdentity返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(identitytype = nil, verifiedforsendingstatus = nil, attributes = nil, requestid = nil) ⇒ GetEmailIdentityResponse
constructor
A new instance of GetEmailIdentityResponse.
Constructor Details
#initialize(identitytype = nil, verifiedforsendingstatus = nil, attributes = nil, requestid = nil) ⇒ GetEmailIdentityResponse
Returns a new instance of GetEmailIdentityResponse.
1010 1011 1012 1013 1014 1015 |
# File 'lib/v20201002/models.rb', line 1010 def initialize(identitytype=nil, verifiedforsendingstatus=nil, attributes=nil, requestid=nil) @IdentityType = identitytype @VerifiedForSendingStatus = verifiedforsendingstatus @Attributes = attributes @RequestId = requestid end |
Instance Attribute Details
#Attributes ⇒ Object
1008 1009 1010 |
# File 'lib/v20201002/models.rb', line 1008 def Attributes @Attributes end |
#IdentityType ⇒ Object
1008 1009 1010 |
# File 'lib/v20201002/models.rb', line 1008 def IdentityType @IdentityType end |
#RequestId ⇒ Object
1008 1009 1010 |
# File 'lib/v20201002/models.rb', line 1008 def RequestId @RequestId end |
#VerifiedForSendingStatus ⇒ Object
1008 1009 1010 |
# File 'lib/v20201002/models.rb', line 1008 def VerifiedForSendingStatus @VerifiedForSendingStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/v20201002/models.rb', line 1017 def deserialize(params) @IdentityType = params['IdentityType'] @VerifiedForSendingStatus = params['VerifiedForSendingStatus'] unless params['Attributes'].nil? @Attributes = [] params['Attributes'].each do |i| dnsattributes_tmp = DNSAttributes.new dnsattributes_tmp.deserialize(i) @Attributes << dnsattributes_tmp end end @RequestId = params['RequestId'] end |