Class: TencentCloud::Apm::V20210622::ModifyApmSampleConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::ModifyApmSampleConfigRequest
- Defined in:
- lib/v20210622/models.rb
Overview
ModifyApmSampleConfig请求参数结构体
Instance Attribute Summary collapse
- #Id ⇒ Object
- #InstanceId ⇒ Object
- #OperationName ⇒ Object
- #OperationType ⇒ Object
- #SampleName ⇒ Object
- #SampleRate ⇒ Object
- #ServiceName ⇒ Object
- #Status ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, samplename = nil, samplerate = nil, servicename = nil, operationname = nil, tags = nil, status = nil, id = nil, operationtype = nil) ⇒ ModifyApmSampleConfigRequest
constructor
A new instance of ModifyApmSampleConfigRequest.
Constructor Details
#initialize(instanceid = nil, samplename = nil, samplerate = nil, servicename = nil, operationname = nil, tags = nil, status = nil, id = nil, operationtype = nil) ⇒ ModifyApmSampleConfigRequest
Returns a new instance of ModifyApmSampleConfigRequest.
3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'lib/v20210622/models.rb', line 3084 def initialize(instanceid=nil, samplename=nil, samplerate=nil, servicename=nil, operationname=nil, =nil, status=nil, id=nil, operationtype=nil) @InstanceId = instanceid @SampleName = samplename @SampleRate = samplerate @ServiceName = servicename @OperationName = operationname @Tags = @Status = status @Id = id @OperationType = operationtype end |
Instance Attribute Details
#Id ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def Id @Id end |
#InstanceId ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def InstanceId @InstanceId end |
#OperationName ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def OperationName @OperationName end |
#OperationType ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def OperationType @OperationType end |
#SampleName ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def SampleName @SampleName end |
#SampleRate ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def SampleRate @SampleRate end |
#ServiceName ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def ServiceName @ServiceName end |
#Status ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def Status @Status end |
#Tags ⇒ Object
3082 3083 3084 |
# File 'lib/v20210622/models.rb', line 3082 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 |
# File 'lib/v20210622/models.rb', line 3096 def deserialize(params) @InstanceId = params['InstanceId'] @SampleName = params['SampleName'] @SampleRate = params['SampleRate'] @ServiceName = params['ServiceName'] @OperationName = params['OperationName'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| apmkvitem_tmp = APMKVItem.new apmkvitem_tmp.deserialize(i) @Tags << apmkvitem_tmp end end @Status = params['Status'] @Id = params['Id'] @OperationType = params['OperationType'] end |