Class: TencentCloud::Tem::V20210701::ModifyConfigDataRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::ModifyConfigDataRequest
- Defined in:
- lib/v20210701/models.rb
Overview
ModifyConfigData请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, name = nil, data = nil, sourcechannel = nil) ⇒ ModifyConfigDataRequest
constructor
A new instance of ModifyConfigDataRequest.
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
#Data ⇒ Object
3525 3526 3527 |
# File 'lib/v20210701/models.rb', line 3525 def Data @Data end |
#EnvironmentId ⇒ Object
3525 3526 3527 |
# File 'lib/v20210701/models.rb', line 3525 def EnvironmentId @EnvironmentId end |
#Name ⇒ Object
3525 3526 3527 |
# File 'lib/v20210701/models.rb', line 3525 def Name @Name end |
#SourceChannel ⇒ Object
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 |