Class: TencentCloud::Dayu::V20180709::ModifyResBindDDoSPolicyRequest

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

Overview

ModifyResBindDDoSPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, id = nil, policyid = nil, method = nil) ⇒ ModifyResBindDDoSPolicyRequest

Returns a new instance of ModifyResBindDDoSPolicyRequest.



8404
8405
8406
8407
8408
8409
# File 'lib/v20180709/models.rb', line 8404

def initialize(business=nil, id=nil, policyid=nil, method=nil)
  @Business = business
  @Id = id
  @PolicyId = policyid
  @Method = method
end

Instance Attribute Details

#BusinessObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • PolicyId:

    策略ID

  • Method:

    绑定或解绑,bind表示绑定策略,unbind表示解绑策略



8402
8403
8404
# File 'lib/v20180709/models.rb', line 8402

def Business
  @Business
end

#IdObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • PolicyId:

    策略ID

  • Method:

    绑定或解绑,bind表示绑定策略,unbind表示解绑策略



8402
8403
8404
# File 'lib/v20180709/models.rb', line 8402

def Id
  @Id
end

#MethodObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • PolicyId:

    策略ID

  • Method:

    绑定或解绑,bind表示绑定策略,unbind表示解绑策略



8402
8403
8404
# File 'lib/v20180709/models.rb', line 8402

def Method
  @Method
end

#PolicyIdObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)

  • Id:

    资源ID

  • PolicyId:

    策略ID

  • Method:

    绑定或解绑,bind表示绑定策略,unbind表示解绑策略



8402
8403
8404
# File 'lib/v20180709/models.rb', line 8402

def PolicyId
  @PolicyId
end

Instance Method Details

#deserialize(params) ⇒ Object



8411
8412
8413
8414
8415
8416
# File 'lib/v20180709/models.rb', line 8411

def deserialize(params)
  @Business = params['Business']
  @Id = params['Id']
  @PolicyId = params['PolicyId']
  @Method = params['Method']
end