Class: TencentCloud::Dayu::V20180709::ModifyDDoSPolicyNameRequest

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

Overview

ModifyDDoSPolicyName请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, policyid = nil, name = nil) ⇒ ModifyDDoSPolicyNameRequest

Returns a new instance of ModifyDDoSPolicyNameRequest.



7668
7669
7670
7671
7672
# File 'lib/v20180709/models.rb', line 7668

def initialize(business=nil, policyid=nil, name=nil)
  @Business = business
  @PolicyId = policyid
  @Name = name
end

Instance Attribute Details

#BusinessObject

Parameters:

  • Business:

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

  • PolicyId:

    策略ID

  • Name:

    策略名称



7666
7667
7668
# File 'lib/v20180709/models.rb', line 7666

def Business
  @Business
end

#NameObject

Parameters:

  • Business:

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

  • PolicyId:

    策略ID

  • Name:

    策略名称



7666
7667
7668
# File 'lib/v20180709/models.rb', line 7666

def Name
  @Name
end

#PolicyIdObject

Parameters:

  • Business:

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

  • PolicyId:

    策略ID

  • Name:

    策略名称



7666
7667
7668
# File 'lib/v20180709/models.rb', line 7666

def PolicyId
  @PolicyId
end

Instance Method Details

#deserialize(params) ⇒ Object



7674
7675
7676
7677
7678
# File 'lib/v20180709/models.rb', line 7674

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