Class: TencentCloud::Dbbrain::V20191016::DescribeAllUserContactResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::DescribeAllUserContactResponse
- Defined in:
- lib/v20191016/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
426 427 428 429 430 |
# File 'lib/v20191016/models.rb', line 426 def initialize(totalcount=nil, contacts=nil, requestid=nil) @TotalCount = totalcount @Contacts = contacts @RequestId = requestid end |
Instance Attribute Details
#Contacts ⇒ Object
424 425 426 |
# File 'lib/v20191016/models.rb', line 424 def Contacts @Contacts end |
#RequestId ⇒ Object
424 425 426 |
# File 'lib/v20191016/models.rb', line 424 def RequestId @RequestId end |
#TotalCount ⇒ Object
424 425 426 |
# File 'lib/v20191016/models.rb', line 424 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
432 433 434 435 436 437 438 439 440 441 442 443 |
# File 'lib/v20191016/models.rb', line 432 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 |