Class: TencentCloud::Dbbrain::V20210527::DescribeAllUserContactResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeAllUserContactResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeAllUserContact返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, contacts = nil, requestid = nil) ⇒ DescribeAllUserContactResponse
constructor
A new instance of DescribeAllUserContactResponse.
Constructor Details
#initialize(totalcount = nil, contacts = nil, requestid = nil) ⇒ DescribeAllUserContactResponse
1750 1751 1752 1753 1754 |
# File 'lib/v20210527/models.rb', line 1750 def initialize(totalcount=nil, contacts=nil, requestid=nil) @TotalCount = totalcount @Contacts = contacts @RequestId = requestid end |
Instance Attribute Details
#Contacts ⇒ Object
1748 1749 1750 |
# File 'lib/v20210527/models.rb', line 1748 def Contacts @Contacts end |
#RequestId ⇒ Object
1748 1749 1750 |
# File 'lib/v20210527/models.rb', line 1748 def RequestId @RequestId end |
#TotalCount ⇒ Object
1748 1749 1750 |
# File 'lib/v20210527/models.rb', line 1748 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 |
# File 'lib/v20210527/models.rb', line 1756 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Contacts'].nil? @Contacts = [] params['Contacts'].each do |i| contactitem_tmp = ContactItem.new contactitem_tmp.deserialize(i) @Contacts << contactitem_tmp end end @RequestId = params['RequestId'] end |