Class: TencentCloud::Essbasic::V20201222::CreateServerFlowSignRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20201222::CreateServerFlowSignRequest
- Defined in:
- lib/v20201222/models.rb
Overview
CreateServerFlowSign请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(caller = nil, flowid = nil, signcomponents = nil, sourceip = nil) ⇒ CreateServerFlowSignRequest
constructor
A new instance of CreateServerFlowSignRequest.
Constructor Details
#initialize(caller = nil, flowid = nil, signcomponents = nil, sourceip = nil) ⇒ CreateServerFlowSignRequest
Returns a new instance of CreateServerFlowSignRequest.
1309 1310 1311 1312 1313 1314 |
# File 'lib/v20201222/models.rb', line 1309 def initialize(caller=nil, flowid=nil, signcomponents=nil, sourceip=nil) @Caller = caller @FlowId = flowid @SignComponents = signcomponents @SourceIp = sourceip end |
Instance Attribute Details
#Caller ⇒ Object
1307 1308 1309 |
# File 'lib/v20201222/models.rb', line 1307 def Caller @Caller end |
#FlowId ⇒ Object
1307 1308 1309 |
# File 'lib/v20201222/models.rb', line 1307 def FlowId @FlowId end |
#SignComponents ⇒ Object
1307 1308 1309 |
# File 'lib/v20201222/models.rb', line 1307 def SignComponents @SignComponents end |
#SourceIp ⇒ Object
1307 1308 1309 |
# File 'lib/v20201222/models.rb', line 1307 def SourceIp @SourceIp end |
Instance Method Details
#deserialize(params) ⇒ Object
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 |
# File 'lib/v20201222/models.rb', line 1316 def deserialize(params) unless params['Caller'].nil? @Caller = Caller.new @Caller.deserialize(params['Caller']) end @FlowId = params['FlowId'] unless params['SignComponents'].nil? @SignComponents = [] params['SignComponents'].each do |i| component_tmp = Component.new component_tmp.deserialize(i) @SignComponents << component_tmp end end @SourceIp = params['SourceIp'] end |