Class: TencentCloud::Cvm::V20170312::GPUInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::GPUInfo
- Defined in:
- lib/v20170312/models.rb
Overview
实例GPU信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gpucount = nil, gpuid = nil, gputype = nil) ⇒ GPUInfo
constructor
A new instance of GPUInfo.
Constructor Details
#initialize(gpucount = nil, gpuid = nil, gputype = nil) ⇒ GPUInfo
Returns a new instance of GPUInfo.
3961 3962 3963 3964 3965 |
# File 'lib/v20170312/models.rb', line 3961 def initialize(gpucount=nil, gpuid=nil, gputype=nil) @GPUCount = gpucount @GPUId = gpuid @GPUType = gputype end |
Instance Attribute Details
#GPUCount ⇒ Object
3959 3960 3961 |
# File 'lib/v20170312/models.rb', line 3959 def GPUCount @GPUCount end |
#GPUId ⇒ Object
3959 3960 3961 |
# File 'lib/v20170312/models.rb', line 3959 def GPUId @GPUId end |
#GPUType ⇒ Object
3959 3960 3961 |
# File 'lib/v20170312/models.rb', line 3959 def GPUType @GPUType end |
Instance Method Details
#deserialize(params) ⇒ Object
3967 3968 3969 3970 3971 |
# File 'lib/v20170312/models.rb', line 3967 def deserialize(params) @GPUCount = params['GPUCount'] @GPUId = params['GPUId'] @GPUType = params['GPUType'] end |