Class: TencentCloud::Eb::V20210416::Target
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::Target
- Defined in:
- lib/v20210416/models.rb
Overview
Target信息
Instance Attribute Summary collapse
-
#BatchEventCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#BatchTimeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#EnableBatchDelivery ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#EventBusId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, eventbusid = nil, targetid = nil, targetdescription = nil, ruleid = nil, enablebatchdelivery = nil, batchtimeout = nil, batcheventcount = nil) ⇒ Target
constructor
A new instance of Target.
Constructor Details
#initialize(type = nil, eventbusid = nil, targetid = nil, targetdescription = nil, ruleid = nil, enablebatchdelivery = nil, batchtimeout = nil, batcheventcount = nil) ⇒ Target
Returns a new instance of Target.
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 |
# File 'lib/v20210416/models.rb', line 2321 def initialize(type=nil, eventbusid=nil, targetid=nil, targetdescription=nil, ruleid=nil, enablebatchdelivery=nil, batchtimeout=nil, batcheventcount=nil) @Type = type @EventBusId = eventbusid @TargetId = targetid @TargetDescription = targetdescription @RuleId = ruleid @EnableBatchDelivery = enablebatchdelivery @BatchTimeout = batchtimeout @BatchEventCount = batcheventcount end |
Instance Attribute Details
#BatchEventCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def BatchEventCount @BatchEventCount end |
#BatchTimeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def BatchTimeout @BatchTimeout end |
#EnableBatchDelivery ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def EnableBatchDelivery @EnableBatchDelivery end |
#EventBusId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def EventBusId @EventBusId end |
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def RuleId @RuleId end |
#TargetDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def TargetDescription @TargetDescription end |
#TargetId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def TargetId @TargetId end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2319 2320 2321 |
# File 'lib/v20210416/models.rb', line 2319 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 |
# File 'lib/v20210416/models.rb', line 2332 def deserialize(params) @Type = params['Type'] @EventBusId = params['EventBusId'] @TargetId = params['TargetId'] unless params['TargetDescription'].nil? @TargetDescription = TargetDescription.new @TargetDescription.deserialize(params['TargetDescription']) end @RuleId = params['RuleId'] @EnableBatchDelivery = params['EnableBatchDelivery'] @BatchTimeout = params['BatchTimeout'] @BatchEventCount = params['BatchEventCount'] end |