Class: TencentCloud::Thpc::V20230321::StorageOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::StorageOption
- Defined in:
- lib/v20230321/models.rb
Overview
描述集群文件系统选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cfsoptions = nil, goosefsoptions = nil, goosefsxoptions = nil) ⇒ StorageOption
constructor
A new instance of StorageOption.
Constructor Details
#initialize(cfsoptions = nil, goosefsoptions = nil, goosefsxoptions = nil) ⇒ StorageOption
Returns a new instance of StorageOption.
2931 2932 2933 2934 2935 |
# File 'lib/v20230321/models.rb', line 2931 def initialize(=nil, =nil, =nil) @CFSOptions = @GooseFSOptions = @GooseFSxOptions = end |
Instance Attribute Details
#CFSOptions ⇒ Object
2929 2930 2931 |
# File 'lib/v20230321/models.rb', line 2929 def CFSOptions @CFSOptions end |
#GooseFSOptions ⇒ Object
2929 2930 2931 |
# File 'lib/v20230321/models.rb', line 2929 def GooseFSOptions @GooseFSOptions end |
#GooseFSxOptions ⇒ Object
2929 2930 2931 |
# File 'lib/v20230321/models.rb', line 2929 def GooseFSxOptions @GooseFSxOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 |
# File 'lib/v20230321/models.rb', line 2937 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 unless params['GooseFSxOptions'].nil? @GooseFSxOptions = [] params['GooseFSxOptions'].each do |i| goosefsxoption_tmp = GooseFSxOption.new goosefsxoption_tmp.deserialize(i) @GooseFSxOptions << goosefsxoption_tmp end end end |