Class: TencentCloud::Thpc::V20220401::StorageOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::StorageOption
- Defined in:
- lib/v20220401/models.rb
Overview
描述集群文件系统选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cfsoptions = nil, goosefsoptions = nil) ⇒ StorageOption
constructor
A new instance of StorageOption.
Constructor Details
#initialize(cfsoptions = nil, goosefsoptions = nil) ⇒ StorageOption
Returns a new instance of StorageOption.
1934 1935 1936 1937 |
# File 'lib/v20220401/models.rb', line 1934 def initialize(=nil, =nil) @CFSOptions = @GooseFSOptions = end |
Instance Attribute Details
#CFSOptions ⇒ Object
1932 1933 1934 |
# File 'lib/v20220401/models.rb', line 1932 def CFSOptions @CFSOptions end |
#GooseFSOptions ⇒ Object
1932 1933 1934 |
# File 'lib/v20220401/models.rb', line 1932 def GooseFSOptions @GooseFSOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 |
# File 'lib/v20220401/models.rb', line 1939 def deserialize(params) unless params['CFSOptions'].nil? @CFSOptions = [] params['CFSOptions'].each do |i| cfsoption_tmp = CFSOption.new cfsoption_tmp.deserialize(i) @CFSOptions << cfsoption_tmp end end unless params['GooseFSOptions'].nil? @GooseFSOptions = [] params['GooseFSOptions'].each do |i| goosefsoption_tmp = GooseFSOption.new goosefsoption_tmp.deserialize(i) @GooseFSOptions << goosefsoption_tmp end end end |