Class: TencentCloud::Waf::V20180125::CdcRegion
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CdcRegion
- Defined in:
- lib/v20180125/models.rb
Overview
CDC场景下负载均衡WAF的地域信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, clusters = nil) ⇒ CdcRegion
constructor
A new instance of CdcRegion.
Constructor Details
#initialize(region = nil, clusters = nil) ⇒ CdcRegion
Returns a new instance of CdcRegion.
3055 3056 3057 3058 |
# File 'lib/v20180125/models.rb', line 3055 def initialize(region=nil, clusters=nil) @Region = region @Clusters = clusters end |
Instance Attribute Details
#Clusters ⇒ Object
3053 3054 3055 |
# File 'lib/v20180125/models.rb', line 3053 def Clusters @Clusters end |
#Region ⇒ Object
3053 3054 3055 |
# File 'lib/v20180125/models.rb', line 3053 def Region @Region end |
Instance Method Details
#deserialize(params) ⇒ Object
3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 |
# File 'lib/v20180125/models.rb', line 3060 def deserialize(params) @Region = params['Region'] unless params['Clusters'].nil? @Clusters = [] params['Clusters'].each do |i| cdccluster_tmp = CdcCluster.new cdccluster_tmp.deserialize(i) @Clusters << cdccluster_tmp end end end |