Class: TencentCloud::Ccc::V20200210::DescribeIMCdrsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::DescribeIMCdrsResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20200210/models.rb
Overview
DescribeIMCdrs返回参数结构体
Instance Attribute Summary collapse
-
#IMCdrList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IMCdrs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, imcdrs = nil, imcdrlist = nil, requestid = nil) ⇒ DescribeIMCdrsResponse
constructor
A new instance of DescribeIMCdrsResponse.
Constructor Details
#initialize(totalcount = nil, imcdrs = nil, imcdrlist = nil, requestid = nil) ⇒ DescribeIMCdrsResponse
3671 3672 3673 3674 3675 3676 |
# File 'lib/v20200210/models.rb', line 3671 def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil) @TotalCount = totalcount @IMCdrs = imcdrs @IMCdrList = imcdrlist @RequestId = requestid end |
Instance Attribute Details
#IMCdrList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3666 3667 3668 |
# File 'lib/v20200210/models.rb', line 3666 def IMCdrList @IMCdrList end |
#IMCdrs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3666 3667 3668 |
# File 'lib/v20200210/models.rb', line 3666 def IMCdrs @IMCdrs end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3666 3667 3668 |
# File 'lib/v20200210/models.rb', line 3666 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3666 3667 3668 |
# File 'lib/v20200210/models.rb', line 3666 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 |
# File 'lib/v20200210/models.rb', line 3678 def deserialize(params) @TotalCount = params['TotalCount'] unless params['IMCdrs'].nil? @IMCdrs = [] params['IMCdrs'].each do |i| imcdrinfo_tmp = IMCdrInfo.new imcdrinfo_tmp.deserialize(i) @IMCdrs << imcdrinfo_tmp end end unless params['IMCdrList'].nil? @IMCdrList = [] params['IMCdrList'].each do |i| imcdrinfo_tmp = IMCdrInfo.new imcdrinfo_tmp.deserialize(i) @IMCdrList << imcdrinfo_tmp end end @RequestId = params['RequestId'] end |