Class: TencentCloud::Apm::V20210622::Resource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::Resource
- Defined in:
- lib/v20210622/models.rb
Overview
资源层信息
Instance Attribute Summary collapse
-
#CVMMeta ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TKEMeta ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, tkemeta = nil, cvmmeta = nil) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(type = nil, tkemeta = nil, cvmmeta = nil) ⇒ Resource
Returns a new instance of Resource.
3850 3851 3852 3853 3854 |
# File 'lib/v20210622/models.rb', line 3850 def initialize(type=nil, =nil, =nil) @Type = type @TKEMeta = @CVMMeta = end |
Instance Attribute Details
#CVMMeta ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3848 3849 3850 |
# File 'lib/v20210622/models.rb', line 3848 def CVMMeta @CVMMeta end |
#TKEMeta ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3848 3849 3850 |
# File 'lib/v20210622/models.rb', line 3848 def TKEMeta @TKEMeta end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3848 3849 3850 |
# File 'lib/v20210622/models.rb', line 3848 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 |
# File 'lib/v20210622/models.rb', line 3856 def deserialize(params) @Type = params['Type'] unless params['TKEMeta'].nil? @TKEMeta = [] params['TKEMeta'].each do |i| = TkeMeta.new .deserialize(i) @TKEMeta << end end unless params['CVMMeta'].nil? @CVMMeta = [] params['CVMMeta'].each do |i| = CVMMeta.new .deserialize(i) @CVMMeta << end end end |