Class: TencentCloud::Tse::V20201207::DescribeNativeGatewayServiceSourcesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeNativeGatewayServiceSourcesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeNativeGatewayServiceSources返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeNativeGatewayServiceSourcesResponse
constructor
A new instance of DescribeNativeGatewayServiceSourcesResponse.
Constructor Details
#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeNativeGatewayServiceSourcesResponse
Returns a new instance of DescribeNativeGatewayServiceSourcesResponse.
6778 6779 6780 6781 6782 |
# File 'lib/v20201207/models.rb', line 6778 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
6776 6777 6778 |
# File 'lib/v20201207/models.rb', line 6776 def List @List end |
#RequestId ⇒ Object
6776 6777 6778 |
# File 'lib/v20201207/models.rb', line 6776 def RequestId @RequestId end |
#Total ⇒ Object
6776 6777 6778 |
# File 'lib/v20201207/models.rb', line 6776 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 |
# File 'lib/v20201207/models.rb', line 6784 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| nativegatewayservicesourceitem_tmp = NativeGatewayServiceSourceItem.new nativegatewayservicesourceitem_tmp.deserialize(i) @List << nativegatewayservicesourceitem_tmp end end @RequestId = params['RequestId'] end |