Class: TencentCloud::Mps::V20190612::DescribeSampleSnapshotTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeSampleSnapshotTemplatesResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeSampleSnapshotTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, samplesnapshottemplateset = nil, requestid = nil) ⇒ DescribeSampleSnapshotTemplatesResponse
constructor
A new instance of DescribeSampleSnapshotTemplatesResponse.
Constructor Details
#initialize(totalcount = nil, samplesnapshottemplateset = nil, requestid = nil) ⇒ DescribeSampleSnapshotTemplatesResponse
Returns a new instance of DescribeSampleSnapshotTemplatesResponse.
13839 13840 13841 13842 13843 |
# File 'lib/v20190612/models.rb', line 13839 def initialize(totalcount=nil, samplesnapshottemplateset=nil, requestid=nil) @TotalCount = totalcount @SampleSnapshotTemplateSet = samplesnapshottemplateset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
13837 13838 13839 |
# File 'lib/v20190612/models.rb', line 13837 def RequestId @RequestId end |
#SampleSnapshotTemplateSet ⇒ Object
13837 13838 13839 |
# File 'lib/v20190612/models.rb', line 13837 def SampleSnapshotTemplateSet @SampleSnapshotTemplateSet end |
#TotalCount ⇒ Object
13837 13838 13839 |
# File 'lib/v20190612/models.rb', line 13837 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 |
# File 'lib/v20190612/models.rb', line 13845 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SampleSnapshotTemplateSet'].nil? @SampleSnapshotTemplateSet = [] params['SampleSnapshotTemplateSet'].each do |i| samplesnapshottemplate_tmp = SampleSnapshotTemplate.new samplesnapshottemplate_tmp.deserialize(i) @SampleSnapshotTemplateSet << samplesnapshottemplate_tmp end end @RequestId = params['RequestId'] end |