Class: TencentCloud::Thpc::V20211109::StorageOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20211109::StorageOption
- Defined in:
- lib/v20211109/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.
806 807 808 809 |
# File 'lib/v20211109/models.rb', line 806 def initialize(=nil, =nil) @CFSOptions = @GooseFSOptions = end |
Instance Attribute Details
#CFSOptions ⇒ Object
804 805 806 |
# File 'lib/v20211109/models.rb', line 804 def CFSOptions @CFSOptions end |
#GooseFSOptions ⇒ Object
804 805 806 |
# File 'lib/v20211109/models.rb', line 804 def GooseFSOptions @GooseFSOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 |
# File 'lib/v20211109/models.rb', line 811 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 |