Class: TencentCloud::Tcb::V20180608::PostPaidEnvDeductInfo

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

Overview

后付费计费详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourcetype = nil, metricname = nil, resquota = nil, pkgquota = nil, freequota = nil, envid = nil) ⇒ PostPaidEnvDeductInfo

Returns a new instance of PostPaidEnvDeductInfo.



8296
8297
8298
8299
8300
8301
8302
8303
# File 'lib/v20180608/models.rb', line 8296

def initialize(resourcetype=nil, metricname=nil, resquota=nil, pkgquota=nil, freequota=nil, envid=nil)
  @ResourceType = resourcetype
  @MetricName = metricname
  @ResQuota = resquota
  @PkgQuota = pkgquota
  @FreeQuota = freequota
  @EnvId = envid
end

Instance Attribute Details

#EnvIdObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



8294
8295
8296
# File 'lib/v20180608/models.rb', line 8294

def EnvId
  @EnvId
end

#FreeQuotaObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



8294
8295
8296
# File 'lib/v20180608/models.rb', line 8294

def FreeQuota
  @FreeQuota
end

#MetricNameObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



8294
8295
8296
# File 'lib/v20180608/models.rb', line 8294

def MetricName
  @MetricName
end

#PkgQuotaObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



8294
8295
8296
# File 'lib/v20180608/models.rb', line 8294

def PkgQuota
  @PkgQuota
end

#ResourceTypeObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



8294
8295
8296
# File 'lib/v20180608/models.rb', line 8294

def ResourceType
  @ResourceType
end

#ResQuotaObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



8294
8295
8296
# File 'lib/v20180608/models.rb', line 8294

def ResQuota
  @ResQuota
end

Instance Method Details

#deserialize(params) ⇒ Object



8305
8306
8307
8308
8309
8310
8311
8312
# File 'lib/v20180608/models.rb', line 8305

def deserialize(params)
  @ResourceType = params['ResourceType']
  @MetricName = params['MetricName']
  @ResQuota = params['ResQuota']
  @PkgQuota = params['PkgQuota']
  @FreeQuota = params['FreeQuota']
  @EnvId = params['EnvId']
end