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.
1941 1942 1943 1944 |
# File 'lib/v20220401/models.rb', line 1941 def initialize(=nil, =nil) @CFSOptions = @GooseFSOptions = end |
Instance Attribute Details
#CFSOptions ⇒ Object
1939 1940 1941 |
# File 'lib/v20220401/models.rb', line 1939 def CFSOptions @CFSOptions end |
#GooseFSOptions ⇒ Object
1939 1940 1941 |
# File 'lib/v20220401/models.rb', line 1939 def GooseFSOptions @GooseFSOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 |
# File 'lib/v20220401/models.rb', line 1946 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 |