Class: TencentCloud::Tem::V20210701::CreateConfigDataRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::CreateConfigDataRequest
- Defined in:
- lib/v20210701/models.rb
Overview
CreateConfigData请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, name = nil, data = nil, sourcechannel = nil) ⇒ CreateConfigDataRequest
constructor
A new instance of CreateConfigDataRequest.
Constructor Details
#initialize(environmentid = nil, name = nil, data = nil, sourcechannel = nil) ⇒ CreateConfigDataRequest
Returns a new instance of CreateConfigDataRequest.
399 400 401 402 403 404 |
# File 'lib/v20210701/models.rb', line 399 def initialize(environmentid=nil, name=nil, data=nil, sourcechannel=nil) @EnvironmentId = environmentid @Name = name @Data = data @SourceChannel = sourcechannel end |
Instance Attribute Details
#Data ⇒ Object
397 398 399 |
# File 'lib/v20210701/models.rb', line 397 def Data @Data end |
#EnvironmentId ⇒ Object
397 398 399 |
# File 'lib/v20210701/models.rb', line 397 def EnvironmentId @EnvironmentId end |
#Name ⇒ Object
397 398 399 |
# File 'lib/v20210701/models.rb', line 397 def Name @Name end |
#SourceChannel ⇒ Object
397 398 399 |
# File 'lib/v20210701/models.rb', line 397 def SourceChannel @SourceChannel end |
Instance Method Details
#deserialize(params) ⇒ Object
406 407 408 409 410 411 412 413 414 415 416 417 418 |
# File 'lib/v20210701/models.rb', line 406 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 |