Class: TencentCloud::Thpc::V20220401::StorageOptionOverview
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::StorageOptionOverview
- Defined in:
- lib/v20220401/models.rb
Overview
集群存储选项概览信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cfsoptions = nil, goosefsoptions = nil) ⇒ StorageOptionOverview
constructor
A new instance of StorageOptionOverview.
Constructor Details
#initialize(cfsoptions = nil, goosefsoptions = nil) ⇒ StorageOptionOverview
Returns a new instance of StorageOptionOverview.
1968 1969 1970 1971 |
# File 'lib/v20220401/models.rb', line 1968 def initialize(=nil, =nil) @CFSOptions = @GooseFSOptions = end |
Instance Attribute Details
#CFSOptions ⇒ Object
1966 1967 1968 |
# File 'lib/v20220401/models.rb', line 1966 def CFSOptions @CFSOptions end |
#GooseFSOptions ⇒ Object
1966 1967 1968 |
# File 'lib/v20220401/models.rb', line 1966 def GooseFSOptions @GooseFSOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 |
# File 'lib/v20220401/models.rb', line 1973 def deserialize(params) unless params['CFSOptions'].nil? @CFSOptions = [] params['CFSOptions'].each do |i| cfsoptionoverview_tmp = CFSOptionOverview.new cfsoptionoverview_tmp.deserialize(i) @CFSOptions << cfsoptionoverview_tmp end end unless params['GooseFSOptions'].nil? @GooseFSOptions = [] params['GooseFSOptions'].each do |i| goosefsoptionoverview_tmp = GooseFSOptionOverview.new goosefsoptionoverview_tmp.deserialize(i) @GooseFSOptions << goosefsoptionoverview_tmp end end end |