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.
3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 |
# File 'lib/v20210622/models.rb', line 3671 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
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def Id @Id end |
#InstanceId ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def InstanceId @InstanceId end |
#OperationName ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def OperationName @OperationName end |
#OperationType ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def OperationType @OperationType end |
#SampleName ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def SampleName @SampleName end |
#SampleRate ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def SampleRate @SampleRate end |
#ServiceName ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def ServiceName @ServiceName end |
#Status ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def Status @Status end |
#Tags ⇒ Object
3669 3670 3671 |
# File 'lib/v20210622/models.rb', line 3669 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 |
# File 'lib/v20210622/models.rb', line 3683 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 |