Class: TencentCloud::Apm::V20210622::ModifyGeneralApmApplicationConfigRequest

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

Overview

ModifyGeneralApmApplicationConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, tags = nil, servicenames = nil) ⇒ ModifyGeneralApmApplicationConfigRequest

Returns a new instance of ModifyGeneralApmApplicationConfigRequest.



3731
3732
3733
3734
3735
# File 'lib/v20210622/models.rb', line 3731

def initialize(instanceid=nil, tags=nil, servicenames=nil)
  @InstanceId = instanceid
  @Tags = tags
  @ServiceNames = servicenames
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    业务系统Id

  • Tags:

    需要修改的字段key value分别指定字段名、字段值

  • ServiceNames:

    需要修改配置的应用列表名称



3729
3730
3731
# File 'lib/v20210622/models.rb', line 3729

def InstanceId
  @InstanceId
end

#ServiceNamesObject

Parameters:

  • InstanceId:

    业务系统Id

  • Tags:

    需要修改的字段key value分别指定字段名、字段值

  • ServiceNames:

    需要修改配置的应用列表名称



3729
3730
3731
# File 'lib/v20210622/models.rb', line 3729

def ServiceNames
  @ServiceNames
end

#TagsObject

Parameters:

  • InstanceId:

    业务系统Id

  • Tags:

    需要修改的字段key value分别指定字段名、字段值

  • ServiceNames:

    需要修改配置的应用列表名称



3729
3730
3731
# File 'lib/v20210622/models.rb', line 3729

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/v20210622/models.rb', line 3737

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      apmtag_tmp = ApmTag.new
      apmtag_tmp.deserialize(i)
      @Tags << apmtag_tmp
    end
  end
  @ServiceNames = params['ServiceNames']
end