Class: TencentCloud::Thpc::V20220401::StorageOptionOverview

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220401/models.rb

Overview

集群存储选项概览信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

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(cfsoptions=nil, goosefsoptions=nil)
  @CFSOptions = cfsoptions
  @GooseFSOptions = goosefsoptions
end

Instance Attribute Details

#CFSOptionsObject

Parameters:

  • CFSOptions:

    CFS存储选项概览信息列表。

  • GooseFSOptions:

    GooseFS存储选项概览信息列表。



1966
1967
1968
# File 'lib/v20220401/models.rb', line 1966

def CFSOptions
  @CFSOptions
end

#GooseFSOptionsObject

Parameters:

  • CFSOptions:

    CFS存储选项概览信息列表。

  • GooseFSOptions:

    GooseFS存储选项概览信息列表。



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