Class: TencentCloud::Emr::V20190103::PodSpecInfo

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

Overview

Pod相关信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(podspec = nil, podparameter = nil) ⇒ PodSpecInfo

Returns a new instance of PodSpecInfo.



11443
11444
11445
11446
# File 'lib/v20190103/models.rb', line 11443

def initialize(podspec=nil, podparameter=nil)
  @PodSpec = podspec
  @PodParameter = podparameter
end

Instance Attribute Details

#PodParameterObject

Parameters:

  • PodSpec:

    使用Pod资源扩容时,指定的Pod规格以及来源等信息

  • PodParameter:

    POD自定义权限和自定义参数



11441
11442
11443
# File 'lib/v20190103/models.rb', line 11441

def PodParameter
  @PodParameter
end

#PodSpecObject

Parameters:

  • PodSpec:

    使用Pod资源扩容时,指定的Pod规格以及来源等信息

  • PodParameter:

    POD自定义权限和自定义参数



11441
11442
11443
# File 'lib/v20190103/models.rb', line 11441

def PodSpec
  @PodSpec
end

Instance Method Details

#deserialize(params) ⇒ Object



11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
# File 'lib/v20190103/models.rb', line 11448

def deserialize(params)
  unless params['PodSpec'].nil?
    @PodSpec = PodNewSpec.new
    @PodSpec.deserialize(params['PodSpec'])
  end
  unless params['PodParameter'].nil?
    @PodParameter = PodNewParameter.new
    @PodParameter.deserialize(params['PodParameter'])
  end
end