Class: TencentCloud::Tdmq::V20200217::DescribePublishersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribePublishersResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribePublishers返回参数结构体
Instance Attribute Summary collapse
-
#Publishers ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, publishers = nil, requestid = nil) ⇒ DescribePublishersResponse
constructor
A new instance of DescribePublishersResponse.
Constructor Details
#initialize(totalcount = nil, publishers = nil, requestid = nil) ⇒ DescribePublishersResponse
Returns a new instance of DescribePublishersResponse.
4762 4763 4764 4765 4766 |
# File 'lib/v20200217/models.rb', line 4762 def initialize(totalcount=nil, publishers=nil, requestid=nil) @TotalCount = totalcount @Publishers = publishers @RequestId = requestid end |
Instance Attribute Details
#Publishers ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4760 4761 4762 |
# File 'lib/v20200217/models.rb', line 4760 def Publishers @Publishers end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4760 4761 4762 |
# File 'lib/v20200217/models.rb', line 4760 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4760 4761 4762 |
# File 'lib/v20200217/models.rb', line 4760 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 |
# File 'lib/v20200217/models.rb', line 4768 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Publishers'].nil? @Publishers = [] params['Publishers'].each do |i| publisher_tmp = Publisher.new publisher_tmp.deserialize(i) @Publishers << publisher_tmp end end @RequestId = params['RequestId'] end |