Class: TencentCloud::Tem::V20210701::ModifyConfigDataRequest

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

Overview

ModifyConfigData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, name = nil, data = nil, sourcechannel = nil) ⇒ ModifyConfigDataRequest

Returns a new instance of ModifyConfigDataRequest.



3527
3528
3529
3530
3531
3532
# File 'lib/v20210701/models.rb', line 3527

def initialize(environmentid=nil, name=nil, data=nil, sourcechannel=nil)
  @EnvironmentId = environmentid
  @Name = name
  @Data = data
  @SourceChannel = sourcechannel
end

Instance Attribute Details

#DataObject

Parameters:

  • EnvironmentId:

    环境 ID

  • Name:

    配置名

  • Data:

    配置信息

  • SourceChannel:

    来源渠道



3525
3526
3527
# File 'lib/v20210701/models.rb', line 3525

def Data
  @Data
end

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    环境 ID

  • Name:

    配置名

  • Data:

    配置信息

  • SourceChannel:

    来源渠道



3525
3526
3527
# File 'lib/v20210701/models.rb', line 3525

def EnvironmentId
  @EnvironmentId
end

#NameObject

Parameters:

  • EnvironmentId:

    环境 ID

  • Name:

    配置名

  • Data:

    配置信息

  • SourceChannel:

    来源渠道



3525
3526
3527
# File 'lib/v20210701/models.rb', line 3525

def Name
  @Name
end

#SourceChannelObject

Parameters:

  • EnvironmentId:

    环境 ID

  • Name:

    配置名

  • Data:

    配置信息

  • SourceChannel:

    来源渠道



3525
3526
3527
# File 'lib/v20210701/models.rb', line 3525

def SourceChannel
  @SourceChannel
end

Instance Method Details

#deserialize(params) ⇒ Object



3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
# File 'lib/v20210701/models.rb', line 3534

def deserialize(params)
  @EnvironmentId = params['EnvironmentId']
  @Name = params['Name']
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      pair_tmp = Pair.new
      pair_tmp.deserialize(i)
      @Data << pair_tmp
    end
  end
  @SourceChannel = params['SourceChannel']
end