Class: TencentCloud::Eb::V20210416::UpdateTransformationRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::UpdateTransformationRequest
- Defined in:
- lib/v20210416/models.rb
Overview
UpdateTransformation请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventbusid = nil, ruleid = nil, transformationid = nil, transformations = nil) ⇒ UpdateTransformationRequest
constructor
A new instance of UpdateTransformationRequest.
Constructor Details
#initialize(eventbusid = nil, ruleid = nil, transformationid = nil, transformations = nil) ⇒ UpdateTransformationRequest
Returns a new instance of UpdateTransformationRequest.
2702 2703 2704 2705 2706 2707 |
# File 'lib/v20210416/models.rb', line 2702 def initialize(eventbusid=nil, ruleid=nil, transformationid=nil, transformations=nil) @EventBusId = eventbusid @RuleId = ruleid @TransformationId = transformationid @Transformations = transformations end |
Instance Attribute Details
#EventBusId ⇒ Object
2700 2701 2702 |
# File 'lib/v20210416/models.rb', line 2700 def EventBusId @EventBusId end |
#RuleId ⇒ Object
2700 2701 2702 |
# File 'lib/v20210416/models.rb', line 2700 def RuleId @RuleId end |
#TransformationId ⇒ Object
2700 2701 2702 |
# File 'lib/v20210416/models.rb', line 2700 def TransformationId @TransformationId end |
#Transformations ⇒ Object
2700 2701 2702 |
# File 'lib/v20210416/models.rb', line 2700 def Transformations @Transformations end |
Instance Method Details
#deserialize(params) ⇒ Object
2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 |
# File 'lib/v20210416/models.rb', line 2709 def deserialize(params) @EventBusId = params['EventBusId'] @RuleId = params['RuleId'] @TransformationId = params['TransformationId'] unless params['Transformations'].nil? @Transformations = [] params['Transformations'].each do |i| transformation_tmp = Transformation.new transformation_tmp.deserialize(i) @Transformations << transformation_tmp end end end |