Class: TencentCloud::Dayu::V20180709::ModifyL4HealthRequest

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

Overview

ModifyL4Health请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BusinessObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)

  • Id:

    资源ID

  • Healths:

    健康检查参数数组



8047
8048
8049
# File 'lib/v20180709/models.rb', line 8047

def Business
  @Business
end

#HealthsObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)

  • Id:

    资源ID

  • Healths:

    健康检查参数数组



8047
8048
8049
# File 'lib/v20180709/models.rb', line 8047

def Healths
  @Healths
end

#IdObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)

  • Id:

    资源ID

  • Healths:

    健康检查参数数组



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