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.
6799 6800 6801 6802 6803 |
# File 'lib/v20201207/models.rb', line 6799 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
6797 6798 6799 |
# File 'lib/v20201207/models.rb', line 6797 def List @List end |
#RequestId ⇒ Object
6797 6798 6799 |
# File 'lib/v20201207/models.rb', line 6797 def RequestId @RequestId end |
#Total ⇒ Object
6797 6798 6799 |
# File 'lib/v20201207/models.rb', line 6797 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 |
# File 'lib/v20201207/models.rb', line 6805 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 |