Class: TencentCloud::Tione::V20211111::DescribeBillingSpecsRequest

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

Overview

DescribeBillingSpecs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chargetype = nil, tasktype = nil, resourcetype = nil) ⇒ DescribeBillingSpecsRequest

Returns a new instance of DescribeBillingSpecsRequest.



2756
2757
2758
2759
2760
# File 'lib/v20211111/models.rb', line 2756

def initialize(chargetype=nil, tasktype=nil, resourcetype=nil)
  @ChargeType = chargetype
  @TaskType = tasktype
  @ResourceType = resourcetype
end

Instance Attribute Details

#ChargeTypeObject

Parameters:

  • ChargeType:

    付费模式:POSTPAID_BY_HOUR按量计费、PREPAID包年包月

  • TaskType:

    枚举值:空、TRAIN、NOTEBOOK、INFERENCE或EMS

  • ResourceType:

    资源类型:["", "CALC", "CPU", "GPU", "GPU-SW"]



2754
2755
2756
# File 'lib/v20211111/models.rb', line 2754

def ChargeType
  @ChargeType
end

#ResourceTypeObject

Parameters:

  • ChargeType:

    付费模式:POSTPAID_BY_HOUR按量计费、PREPAID包年包月

  • TaskType:

    枚举值:空、TRAIN、NOTEBOOK、INFERENCE或EMS

  • ResourceType:

    资源类型:["", "CALC", "CPU", "GPU", "GPU-SW"]



2754
2755
2756
# File 'lib/v20211111/models.rb', line 2754

def ResourceType
  @ResourceType
end

#TaskTypeObject

Parameters:

  • ChargeType:

    付费模式:POSTPAID_BY_HOUR按量计费、PREPAID包年包月

  • TaskType:

    枚举值:空、TRAIN、NOTEBOOK、INFERENCE或EMS

  • ResourceType:

    资源类型:["", "CALC", "CPU", "GPU", "GPU-SW"]



2754
2755
2756
# File 'lib/v20211111/models.rb', line 2754

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



2762
2763
2764
2765
2766
# File 'lib/v20211111/models.rb', line 2762

def deserialize(params)
  @ChargeType = params['ChargeType']
  @TaskType = params['TaskType']
  @ResourceType = params['ResourceType']
end