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.



7162
7163
7164
7165
7166
7167
7168
7169
# File 'lib/v20180608/models.rb', line 7162

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



7160
7161
7162
# File 'lib/v20180608/models.rb', line 7160

def EnvId
  @EnvId
end

#FreeQuotaObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



7160
7161
7162
# File 'lib/v20180608/models.rb', line 7160

def FreeQuota
  @FreeQuota
end

#MetricNameObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



7160
7161
7162
# File 'lib/v20180608/models.rb', line 7160

def MetricName
  @MetricName
end

#PkgQuotaObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



7160
7161
7162
# File 'lib/v20180608/models.rb', line 7160

def PkgQuota
  @PkgQuota
end

#ResourceTypeObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



7160
7161
7162
# File 'lib/v20180608/models.rb', line 7160

def ResourceType
  @ResourceType
end

#ResQuotaObject

Parameters:

  • ResourceType:

    资源方

  • MetricName:

    指标名

  • ResQuota:

    按量计费详情

  • PkgQuota:

    资源包抵扣详情

  • FreeQuota:

    免费额度抵扣详情

  • EnvId:

    环境id



7160
7161
7162
# File 'lib/v20180608/models.rb', line 7160

def ResQuota
  @ResQuota
end

Instance Method Details

#deserialize(params) ⇒ Object



7171
7172
7173
7174
7175
7176
7177
7178
# File 'lib/v20180608/models.rb', line 7171

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