Class: TencentCloud::Rum::V20210622::RumInstanceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Rum::V20210622::RumInstanceInfo
- Defined in:
- lib/v20210622/models.rb
Overview
Rum实例信息
Instance Attribute Summary collapse
- #AreaId ⇒ Object
- #ChargeStatus ⇒ Object
- #ChargeType ⇒ Object
- #ClusterId ⇒ Object
- #CreatedAt ⇒ Object
- #DataRetentionDays ⇒ Object
- #InstanceDesc ⇒ Object
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #InstanceStatus ⇒ Object
- #InstanceType ⇒ Object
- #Tags ⇒ Object
- #UpdatedAt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancestatus = nil, areaid = nil, tags = nil, instanceid = nil, clusterid = nil, instancedesc = nil, chargestatus = nil, chargetype = nil, updatedat = nil, dataretentiondays = nil, instancename = nil, createdat = nil, instancetype = nil) ⇒ RumInstanceInfo
constructor
A new instance of RumInstanceInfo.
Constructor Details
#initialize(instancestatus = nil, areaid = nil, tags = nil, instanceid = nil, clusterid = nil, instancedesc = nil, chargestatus = nil, chargetype = nil, updatedat = nil, dataretentiondays = nil, instancename = nil, createdat = nil, instancetype = nil) ⇒ RumInstanceInfo
Returns a new instance of RumInstanceInfo.
4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 |
# File 'lib/v20210622/models.rb', line 4046 def initialize(instancestatus=nil, areaid=nil, =nil, instanceid=nil, clusterid=nil, instancedesc=nil, chargestatus=nil, chargetype=nil, updatedat=nil, dataretentiondays=nil, instancename=nil, createdat=nil, instancetype=nil) @InstanceStatus = instancestatus @AreaId = areaid @Tags = @InstanceId = instanceid @ClusterId = clusterid @InstanceDesc = instancedesc @ChargeStatus = chargestatus @ChargeType = chargetype @UpdatedAt = updatedat @DataRetentionDays = dataretentiondays @InstanceName = instancename @CreatedAt = createdat @InstanceType = instancetype end |
Instance Attribute Details
#AreaId ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def AreaId @AreaId end |
#ChargeStatus ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def ChargeStatus @ChargeStatus end |
#ChargeType ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def ChargeType @ChargeType end |
#ClusterId ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def ClusterId @ClusterId end |
#CreatedAt ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def CreatedAt @CreatedAt end |
#DataRetentionDays ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def DataRetentionDays @DataRetentionDays end |
#InstanceDesc ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def InstanceDesc @InstanceDesc end |
#InstanceId ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def InstanceName @InstanceName end |
#InstanceStatus ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def InstanceStatus @InstanceStatus end |
#InstanceType ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def InstanceType @InstanceType end |
#Tags ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def Tags @Tags end |
#UpdatedAt ⇒ Object
4044 4045 4046 |
# File 'lib/v20210622/models.rb', line 4044 def UpdatedAt @UpdatedAt end |
Instance Method Details
#deserialize(params) ⇒ Object
4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 |
# File 'lib/v20210622/models.rb', line 4062 def deserialize(params) @InstanceStatus = params['InstanceStatus'] @AreaId = params['AreaId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @InstanceId = params['InstanceId'] @ClusterId = params['ClusterId'] @InstanceDesc = params['InstanceDesc'] @ChargeStatus = params['ChargeStatus'] @ChargeType = params['ChargeType'] @UpdatedAt = params['UpdatedAt'] @DataRetentionDays = params['DataRetentionDays'] @InstanceName = params['InstanceName'] @CreatedAt = params['CreatedAt'] @InstanceType = params['InstanceType'] end |