Class: TencentCloud::Tdmq::V20200217::SecurityPolicy

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

安全策略

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(route = nil, policy = nil, remark = nil) ⇒ SecurityPolicy

Returns a new instance of SecurityPolicy.



12559
12560
12561
12562
12563
# File 'lib/v20200217/models.rb', line 12559

def initialize(route=nil, policy=nil, remark=nil)
  @Route = route
  @Policy = policy
  @Remark = remark
end

Instance Attribute Details

#PolicyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Remark:

    备注



12557
12558
12559
# File 'lib/v20200217/models.rb', line 12557

def Policy
  @Policy
end

#RemarkObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Remark:

    备注



12557
12558
12559
# File 'lib/v20200217/models.rb', line 12557

def Remark
  @Remark
end

#RouteObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Remark:

    备注



12557
12558
12559
# File 'lib/v20200217/models.rb', line 12557

def Route
  @Route
end

Instance Method Details

#deserialize(params) ⇒ Object



12565
12566
12567
12568
12569
# File 'lib/v20200217/models.rb', line 12565

def deserialize(params)
  @Route = params['Route']
  @Policy = params['Policy']
  @Remark = params['Remark']
end