Class: TencentCloud::Thpc::V20230321::StorageOptionOverview

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

Overview

集群存储选项概览信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cfsoptions = nil, goosefsoptions = nil, goosefsxoptions = nil) ⇒ StorageOptionOverview

Returns a new instance of StorageOptionOverview.



2976
2977
2978
2979
2980
# File 'lib/v20230321/models.rb', line 2976

def initialize(cfsoptions=nil, goosefsoptions=nil, goosefsxoptions=nil)
  @CFSOptions = cfsoptions
  @GooseFSOptions = goosefsoptions
  @GooseFSxOptions = goosefsxoptions
end

Instance Attribute Details

#CFSOptionsObject

Parameters:

  • CFSOptions:

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

  • GooseFSOptions:

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

  • GooseFSxOptions:

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



2974
2975
2976
# File 'lib/v20230321/models.rb', line 2974

def CFSOptions
  @CFSOptions
end

#GooseFSOptionsObject

Parameters:

  • CFSOptions:

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

  • GooseFSOptions:

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

  • GooseFSxOptions:

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



2974
2975
2976
# File 'lib/v20230321/models.rb', line 2974

def GooseFSOptions
  @GooseFSOptions
end

#GooseFSxOptionsObject

Parameters:

  • CFSOptions:

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

  • GooseFSOptions:

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

  • GooseFSxOptions:

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



2974
2975
2976
# File 'lib/v20230321/models.rb', line 2974

def GooseFSxOptions
  @GooseFSxOptions
end

Instance Method Details

#deserialize(params) ⇒ Object



2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
# File 'lib/v20230321/models.rb', line 2982

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
  unless params['GooseFSxOptions'].nil?
    @GooseFSxOptions = []
    params['GooseFSxOptions'].each do |i|
      goosefsxoptionoverview_tmp = GooseFSxOptionOverview.new
      goosefsxoptionoverview_tmp.deserialize(i)
      @GooseFSxOptions << goosefsxoptionoverview_tmp
    end
  end
end