Class: TencentCloud::Ses::V20201002::CreateEmailIdentityResponse

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

Overview

CreateEmailIdentity返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identitytype = nil, verifiedforsendingstatus = nil, attributes = nil, requestid = nil) ⇒ CreateEmailIdentityResponse

Returns a new instance of CreateEmailIdentityResponse.



321
322
323
324
325
326
# File 'lib/v20201002/models.rb', line 321

def initialize(identitytype=nil, verifiedforsendingstatus=nil, attributes=nil, requestid=nil)
  @IdentityType = identitytype
  @VerifiedForSendingStatus = verifiedforsendingstatus
  @Attributes = attributes
  @RequestId = requestid
end

Instance Attribute Details

#AttributesObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



319
320
321
# File 'lib/v20201002/models.rb', line 319

def Attributes
  @Attributes
end

#IdentityTypeObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



319
320
321
# File 'lib/v20201002/models.rb', line 319

def IdentityType
  @IdentityType
end

#RequestIdObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



319
320
321
# File 'lib/v20201002/models.rb', line 319

def RequestId
  @RequestId
end

#VerifiedForSendingStatusObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



319
320
321
# File 'lib/v20201002/models.rb', line 319

def VerifiedForSendingStatus
  @VerifiedForSendingStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



328
329
330
331
332
333
334
335
336
337
338
339
340
# File 'lib/v20201002/models.rb', line 328

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