Class: TencentCloud::Tione::V20191022::BillingLabel

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

Overview

计费标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label = nil, volumesize = nil, status = nil) ⇒ BillingLabel

Returns a new instance of BillingLabel.



62
63
64
65
66
# File 'lib/v20191022/models.rb', line 62

def initialize(label=nil, volumesize=nil, status=nil)
  @Label = label
  @VolumeSize = volumesize
  @Status = status
end

Instance Attribute Details

#LabelObject

注意:此字段可能返回 null,表示取不到有效值。 None: 不计费 StorageOnly: 仅存储计费 Computing: 计算和存储都计费

Parameters:

  • Label:

    计费项标识

  • VolumeSize:

    存储大小

  • Status:

    计费状态



60
61
62
# File 'lib/v20191022/models.rb', line 60

def Label
  @Label
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。 None: 不计费 StorageOnly: 仅存储计费 Computing: 计算和存储都计费

Parameters:

  • Label:

    计费项标识

  • VolumeSize:

    存储大小

  • Status:

    计费状态



60
61
62
# File 'lib/v20191022/models.rb', line 60

def Status
  @Status
end

#VolumeSizeObject

注意:此字段可能返回 null,表示取不到有效值。 None: 不计费 StorageOnly: 仅存储计费 Computing: 计算和存储都计费

Parameters:

  • Label:

    计费项标识

  • VolumeSize:

    存储大小

  • Status:

    计费状态



60
61
62
# File 'lib/v20191022/models.rb', line 60

def VolumeSize
  @VolumeSize
end

Instance Method Details

#deserialize(params) ⇒ Object



68
69
70
71
72
# File 'lib/v20191022/models.rb', line 68

def deserialize(params)
  @Label = params['Label']
  @VolumeSize = params['VolumeSize']
  @Status = params['Status']
end