Class: TencentCloud::Scf::V20180416::ListVersionByFunctionResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::ListVersionByFunctionResponse
- Defined in:
- lib/v20180416/models.rb
Overview
ListVersionByFunction返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(functionversion = nil, versions = nil, totalcount = nil, requestid = nil) ⇒ ListVersionByFunctionResponse
constructor
A new instance of ListVersionByFunctionResponse.
Constructor Details
#initialize(functionversion = nil, versions = nil, totalcount = nil, requestid = nil) ⇒ ListVersionByFunctionResponse
Returns a new instance of ListVersionByFunctionResponse.
3649 3650 3651 3652 3653 3654 |
# File 'lib/v20180416/models.rb', line 3649 def initialize(functionversion=nil, versions=nil, totalcount=nil, requestid=nil) @FunctionVersion = functionversion @Versions = versions @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#FunctionVersion ⇒ Object
3647 3648 3649 |
# File 'lib/v20180416/models.rb', line 3647 def FunctionVersion @FunctionVersion end |
#RequestId ⇒ Object
3647 3648 3649 |
# File 'lib/v20180416/models.rb', line 3647 def RequestId @RequestId end |
#TotalCount ⇒ Object
3647 3648 3649 |
# File 'lib/v20180416/models.rb', line 3647 def TotalCount @TotalCount end |
#Versions ⇒ Object
3647 3648 3649 |
# File 'lib/v20180416/models.rb', line 3647 def Versions @Versions end |
Instance Method Details
#deserialize(params) ⇒ Object
3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 |
# File 'lib/v20180416/models.rb', line 3656 def deserialize(params) @FunctionVersion = params['FunctionVersion'] unless params['Versions'].nil? @Versions = [] params['Versions'].each do |i| functionversion_tmp = FunctionVersion.new functionversion_tmp.deserialize(i) @Versions << functionversion_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |