Class: TencentCloud::Keewidb::V20220308::DescribeInstanceParamsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::DescribeInstanceParamsResponse
- Defined in:
- lib/v20220308/models.rb
Overview
DescribeInstanceParams返回参数结构体
Instance Attribute Summary collapse
- #InstanceEnumParam ⇒ Object
- #InstanceIntegerParam ⇒ Object
- #InstanceMultiParam ⇒ Object
- #InstanceTextParam ⇒ Object
- #RequestId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instanceenumparam = nil, instanceintegerparam = nil, instancetextparam = nil, instancemultiparam = nil, requestid = nil) ⇒ DescribeInstanceParamsResponse
constructor
A new instance of DescribeInstanceParamsResponse.
Constructor Details
#initialize(totalcount = nil, instanceenumparam = nil, instanceintegerparam = nil, instancetextparam = nil, instancemultiparam = nil, requestid = nil) ⇒ DescribeInstanceParamsResponse
Returns a new instance of DescribeInstanceParamsResponse.
977 978 979 980 981 982 983 984 |
# File 'lib/v20220308/models.rb', line 977 def initialize(totalcount=nil, instanceenumparam=nil, instanceintegerparam=nil, instancetextparam=nil, instancemultiparam=nil, requestid=nil) @TotalCount = totalcount @InstanceEnumParam = instanceenumparam @InstanceIntegerParam = instanceintegerparam @InstanceTextParam = instancetextparam @InstanceMultiParam = instancemultiparam @RequestId = requestid end |
Instance Attribute Details
#InstanceEnumParam ⇒ Object
975 976 977 |
# File 'lib/v20220308/models.rb', line 975 def InstanceEnumParam @InstanceEnumParam end |
#InstanceIntegerParam ⇒ Object
975 976 977 |
# File 'lib/v20220308/models.rb', line 975 def InstanceIntegerParam @InstanceIntegerParam end |
#InstanceMultiParam ⇒ Object
975 976 977 |
# File 'lib/v20220308/models.rb', line 975 def InstanceMultiParam @InstanceMultiParam end |
#InstanceTextParam ⇒ Object
975 976 977 |
# File 'lib/v20220308/models.rb', line 975 def InstanceTextParam @InstanceTextParam end |
#RequestId ⇒ Object
975 976 977 |
# File 'lib/v20220308/models.rb', line 975 def RequestId @RequestId end |
#TotalCount ⇒ Object
975 976 977 |
# File 'lib/v20220308/models.rb', line 975 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 |
# File 'lib/v20220308/models.rb', line 986 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceEnumParam'].nil? @InstanceEnumParam = [] params['InstanceEnumParam'].each do |i| instanceenumparam_tmp = InstanceEnumParam.new instanceenumparam_tmp.deserialize(i) @InstanceEnumParam << instanceenumparam_tmp end end unless params['InstanceIntegerParam'].nil? @InstanceIntegerParam = [] params['InstanceIntegerParam'].each do |i| instanceintegerparam_tmp = InstanceIntegerParam.new instanceintegerparam_tmp.deserialize(i) @InstanceIntegerParam << instanceintegerparam_tmp end end unless params['InstanceTextParam'].nil? @InstanceTextParam = [] params['InstanceTextParam'].each do |i| instancetextparam_tmp = InstanceTextParam.new instancetextparam_tmp.deserialize(i) @InstanceTextParam << instancetextparam_tmp end end unless params['InstanceMultiParam'].nil? @InstanceMultiParam = [] params['InstanceMultiParam'].each do |i| instancemultiparam_tmp = InstanceMultiParam.new instancemultiparam_tmp.deserialize(i) @InstanceMultiParam << instancemultiparam_tmp end end @RequestId = params['RequestId'] end |