Class: TencentCloud::Dayu::V20180709::ModifyL4HealthRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::ModifyL4HealthRequest
- Defined in:
- lib/v20180709/models.rb
Overview
ModifyL4Health请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, id = nil, healths = nil) ⇒ ModifyL4HealthRequest
constructor
A new instance of ModifyL4HealthRequest.
Constructor Details
#initialize(business = nil, id = nil, healths = nil) ⇒ ModifyL4HealthRequest
Returns a new instance of ModifyL4HealthRequest.
8049 8050 8051 8052 8053 |
# File 'lib/v20180709/models.rb', line 8049 def initialize(business=nil, id=nil, healths=nil) @Business = business @Id = id @Healths = healths end |
Instance Attribute Details
#Business ⇒ Object
8047 8048 8049 |
# File 'lib/v20180709/models.rb', line 8047 def Business @Business end |
#Healths ⇒ Object
8047 8048 8049 |
# File 'lib/v20180709/models.rb', line 8047 def Healths @Healths end |
#Id ⇒ Object
8047 8048 8049 |
# File 'lib/v20180709/models.rb', line 8047 def Id @Id end |
Instance Method Details
#deserialize(params) ⇒ Object
8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 |
# File 'lib/v20180709/models.rb', line 8055 def deserialize(params) @Business = params['Business'] @Id = params['Id'] unless params['Healths'].nil? @Healths = [] params['Healths'].each do |i| l4rulehealth_tmp = L4RuleHealth.new l4rulehealth_tmp.deserialize(i) @Healths << l4rulehealth_tmp end end end |