Class: TencentCloud::Bh::V20230418::DescribeSourceTypesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::DescribeSourceTypesResponse
- Defined in:
- lib/v20230418/models.rb
Overview
DescribeSourceTypes返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, sourcetypeset = nil, requestid = nil) ⇒ DescribeSourceTypesResponse
constructor
A new instance of DescribeSourceTypesResponse.
Constructor Details
#initialize(totalcount = nil, sourcetypeset = nil, requestid = nil) ⇒ DescribeSourceTypesResponse
Returns a new instance of DescribeSourceTypesResponse.
3903 3904 3905 3906 3907 |
# File 'lib/v20230418/models.rb', line 3903 def initialize(totalcount=nil, sourcetypeset=nil, requestid=nil) @TotalCount = totalcount @SourceTypeSet = sourcetypeset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3901 3902 3903 |
# File 'lib/v20230418/models.rb', line 3901 def RequestId @RequestId end |
#SourceTypeSet ⇒ Object
3901 3902 3903 |
# File 'lib/v20230418/models.rb', line 3901 def SourceTypeSet @SourceTypeSet end |
#TotalCount ⇒ Object
3901 3902 3903 |
# File 'lib/v20230418/models.rb', line 3901 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 |
# File 'lib/v20230418/models.rb', line 3909 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SourceTypeSet'].nil? @SourceTypeSet = [] params['SourceTypeSet'].each do |i| sourcetype_tmp = SourceType.new sourcetype_tmp.deserialize(i) @SourceTypeSet << sourcetype_tmp end end @RequestId = params['RequestId'] end |