Class: TencentCloud::Zj::V20190121::SmsGetCrowdPackListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::SmsGetCrowdPackListResponse
- Defined in:
- lib/v20190121/models.rb
Overview
短信人群包返回信息
Instance Attribute Summary collapse
-
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil) ⇒ SmsGetCrowdPackListResponse
constructor
A new instance of SmsGetCrowdPackListResponse.
Constructor Details
#initialize(total = nil, list = nil) ⇒ SmsGetCrowdPackListResponse
Returns a new instance of SmsGetCrowdPackListResponse.
1880 1881 1882 1883 |
# File 'lib/v20190121/models.rb', line 1880 def initialize(total=nil, list=nil) @Total = total @List = list end |
Instance Attribute Details
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1878 1879 1880 |
# File 'lib/v20190121/models.rb', line 1878 def List @List end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1878 1879 1880 |
# File 'lib/v20190121/models.rb', line 1878 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 |
# File 'lib/v20190121/models.rb', line 1885 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| smsgetcrowdpacklist_tmp = SmsGetCrowdPackList.new smsgetcrowdpacklist_tmp.deserialize(i) @List << smsgetcrowdpacklist_tmp end end end |