Class: TencentCloud::Eb::V20210416::CreateTransformationRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::CreateTransformationRequest
- Defined in:
- lib/v20210416/models.rb
Overview
CreateTransformation请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventbusid = nil, ruleid = nil, transformations = nil) ⇒ CreateTransformationRequest
constructor
A new instance of CreateTransformationRequest.
Constructor Details
#initialize(eventbusid = nil, ruleid = nil, transformations = nil) ⇒ CreateTransformationRequest
Returns a new instance of CreateTransformationRequest.
557 558 559 560 561 |
# File 'lib/v20210416/models.rb', line 557 def initialize(eventbusid=nil, ruleid=nil, transformations=nil) @EventBusId = eventbusid @RuleId = ruleid @Transformations = transformations end |
Instance Attribute Details
#EventBusId ⇒ Object
555 556 557 |
# File 'lib/v20210416/models.rb', line 555 def EventBusId @EventBusId end |
#RuleId ⇒ Object
555 556 557 |
# File 'lib/v20210416/models.rb', line 555 def RuleId @RuleId end |
#Transformations ⇒ Object
555 556 557 |
# File 'lib/v20210416/models.rb', line 555 def Transformations @Transformations end |
Instance Method Details
#deserialize(params) ⇒ Object
563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'lib/v20210416/models.rb', line 563 def deserialize(params) @EventBusId = params['EventBusId'] @RuleId = params['RuleId'] unless params['Transformations'].nil? @Transformations = [] params['Transformations'].each do |i| transformation_tmp = Transformation.new transformation_tmp.deserialize(i) @Transformations << transformation_tmp end end end |