Class: TencentCloud::Dayu::V20180709::ModifyDDoSAIStatusRequest

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

Overview

ModifyDDoSAIStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, id = nil, method = nil, ddosai = nil) ⇒ ModifyDDoSAIStatusRequest

Returns a new instance of ModifyDDoSAIStatusRequest.



7287
7288
7289
7290
7291
7292
# File 'lib/v20180709/models.rb', line 7287

def initialize(business=nil, id=nil, method=nil, ddosai=nil)
  @Business = business
  @Id = id
  @Method = method
  @DDoSAI = ddosai
end

Instance Attribute Details

#BusinessObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Method:

    get表示读取AI防护状态;=set表示修改AI防护状态;

  • DDoSAI:

    AI防护状态,取值;当Method=set时必填;



7285
7286
7287
# File 'lib/v20180709/models.rb', line 7285

def Business
  @Business
end

#DDoSAIObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Method:

    get表示读取AI防护状态;=set表示修改AI防护状态;

  • DDoSAI:

    AI防护状态,取值;当Method=set时必填;



7285
7286
7287
# File 'lib/v20180709/models.rb', line 7285

def DDoSAI
  @DDoSAI
end

#IdObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Method:

    get表示读取AI防护状态;=set表示修改AI防护状态;

  • DDoSAI:

    AI防护状态,取值;当Method=set时必填;



7285
7286
7287
# File 'lib/v20180709/models.rb', line 7285

def Id
  @Id
end

#MethodObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Method:

    get表示读取AI防护状态;=set表示修改AI防护状态;

  • DDoSAI:

    AI防护状态,取值;当Method=set时必填;



7285
7286
7287
# File 'lib/v20180709/models.rb', line 7285

def Method
  @Method
end

Instance Method Details

#deserialize(params) ⇒ Object



7294
7295
7296
7297
7298
7299
# File 'lib/v20180709/models.rb', line 7294

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