Class: TencentCloud::Npp::V20190823::Get400CdrResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Npp::V20190823::Get400CdrResponse
- Defined in:
- lib/v20190823/models.rb
Overview
Get400Cdr返回参数结构体
Instance Attribute Summary collapse
-
#Cdr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ErrorCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Offset ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errorcode = nil, msg = nil, offset = nil, cdr = nil, requestid = nil) ⇒ Get400CdrResponse
constructor
A new instance of Get400CdrResponse.
Constructor Details
#initialize(errorcode = nil, msg = nil, offset = nil, cdr = nil, requestid = nil) ⇒ Get400CdrResponse
Returns a new instance of Get400CdrResponse.
607 608 609 610 611 612 613 |
# File 'lib/v20190823/models.rb', line 607 def initialize(errorcode=nil, msg=nil, offset=nil, cdr=nil, requestid=nil) @ErrorCode = errorcode @Msg = msg @Offset = offset @Cdr = cdr @RequestId = requestid end |
Instance Attribute Details
#Cdr ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
605 606 607 |
# File 'lib/v20190823/models.rb', line 605 def Cdr @Cdr end |
#ErrorCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
605 606 607 |
# File 'lib/v20190823/models.rb', line 605 def ErrorCode @ErrorCode end |
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
605 606 607 |
# File 'lib/v20190823/models.rb', line 605 def Msg @Msg end |
#Offset ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
605 606 607 |
# File 'lib/v20190823/models.rb', line 605 def Offset @Offset end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
605 606 607 |
# File 'lib/v20190823/models.rb', line 605 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
615 616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'lib/v20190823/models.rb', line 615 def deserialize(params) @ErrorCode = params['ErrorCode'] @Msg = params['Msg'] @Offset = params['Offset'] unless params['Cdr'].nil? @Cdr = [] params['Cdr'].each do |i| virturalnumcdr_tmp = VirturalNumCdr.new virturalnumcdr_tmp.deserialize(i) @Cdr << virturalnumcdr_tmp end end @RequestId = params['RequestId'] end |