Class: TencentCloud::Dbbrain::V20191016::DescribeMailProfileResponse

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

Overview

DescribeMailProfile返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(profilelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeMailProfileResponse

Returns a new instance of DescribeMailProfileResponse.



936
937
938
939
940
# File 'lib/v20191016/models.rb', line 936

def initialize(profilelist=nil, totalcount=nil, requestid=nil)
  @ProfileList = profilelist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ProfileListObject

Parameters:

  • ProfileList:

    邮件配置详情。

  • TotalCount:

    邮件模板总数。

  • RequestId:

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



934
935
936
# File 'lib/v20191016/models.rb', line 934

def ProfileList
  @ProfileList
end

#RequestIdObject

Parameters:

  • ProfileList:

    邮件配置详情。

  • TotalCount:

    邮件模板总数。

  • RequestId:

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



934
935
936
# File 'lib/v20191016/models.rb', line 934

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • ProfileList:

    邮件配置详情。

  • TotalCount:

    邮件模板总数。

  • RequestId:

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



934
935
936
# File 'lib/v20191016/models.rb', line 934

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



942
943
944
945
946
947
948
949
950
951
952
953
# File 'lib/v20191016/models.rb', line 942

def deserialize(params)
  unless params['ProfileList'].nil?
    @ProfileList = []
    params['ProfileList'].each do |i|
      userprofile_tmp = UserProfile.new
      userprofile_tmp.deserialize(i)
      @ProfileList << userprofile_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end