Class: TencentCloud::Ses::V20201002::UpdateEmailIdentityResponse

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

Overview

UpdateEmailIdentity返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UpdateEmailIdentityResponse.



2077
2078
2079
2080
2081
2082
# File 'lib/v20201002/models.rb', line 2077

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。



2075
2076
2077
# File 'lib/v20201002/models.rb', line 2075

def Attributes
  @Attributes
end

#IdentityTypeObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

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



2075
2076
2077
# File 'lib/v20201002/models.rb', line 2075

def IdentityType
  @IdentityType
end

#RequestIdObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

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



2075
2076
2077
# File 'lib/v20201002/models.rb', line 2075

def RequestId
  @RequestId
end

#VerifiedForSendingStatusObject

Parameters:

  • IdentityType:

    验证类型。固定值:DOMAIN

  • VerifiedForSendingStatus:

    是否已通过验证

  • Attributes:

    需要配置的DNS信息

  • RequestId:

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



2075
2076
2077
# File 'lib/v20201002/models.rb', line 2075

def VerifiedForSendingStatus
  @VerifiedForSendingStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
# File 'lib/v20201002/models.rb', line 2084

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