Class: TencentCloud::Apm::V20210622::SpanTag

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

Overview

标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, key = nil, value = nil) ⇒ SpanTag

Returns a new instance of SpanTag.



4153
4154
4155
4156
4157
# File 'lib/v20210622/models.rb', line 4153

def initialize(type=nil, key=nil, value=nil)
  @Type = type
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    标签类型

  • Key:

    标签Key

  • Value:

    标签值



4151
4152
4153
# File 'lib/v20210622/models.rb', line 4151

def Key
  @Key
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    标签类型

  • Key:

    标签Key

  • Value:

    标签值



4151
4152
4153
# File 'lib/v20210622/models.rb', line 4151

def Type
  @Type
end

#ValueObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    标签类型

  • Key:

    标签Key

  • Value:

    标签值



4151
4152
4153
# File 'lib/v20210622/models.rb', line 4151

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4159
4160
4161
4162
4163
# File 'lib/v20210622/models.rb', line 4159

def deserialize(params)
  @Type = params['Type']
  @Key = params['Key']
  @Value = params['Value']
end