Class: TencentCloud::Dayu::V20180709::ModifyResourceRenewFlagRequest

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

Overview

ModifyResourceRenewFlag请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, id = nil, renewflag = nil) ⇒ ModifyResourceRenewFlagRequest

Returns a new instance of ModifyResourceRenewFlagRequest.



8453
8454
8455
8456
8457
# File 'lib/v20180709/models.rb', line 8453

def initialize(business=nil, id=nil, renewflag=nil)
  @Business = business
  @Id = id
  @RenewFlag = renewflag
end

Instance Attribute Details

#BusinessObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版;shield表示棋牌盾;bgp表示独享包;bgp-multip表示共享包;insurance表示保险包;staticpack表示三网套餐包)

  • Id:

    资源Id

  • RenewFlag:

    自动续费标记(0手动续费;1自动续费;2到期不续费)



8451
8452
8453
# File 'lib/v20180709/models.rb', line 8451

def Business
  @Business
end

#IdObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版;shield表示棋牌盾;bgp表示独享包;bgp-multip表示共享包;insurance表示保险包;staticpack表示三网套餐包)

  • Id:

    资源Id

  • RenewFlag:

    自动续费标记(0手动续费;1自动续费;2到期不续费)



8451
8452
8453
# File 'lib/v20180709/models.rb', line 8451

def Id
  @Id
end

#RenewFlagObject

Parameters:

  • Business:

    大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版;shield表示棋牌盾;bgp表示独享包;bgp-multip表示共享包;insurance表示保险包;staticpack表示三网套餐包)

  • Id:

    资源Id

  • RenewFlag:

    自动续费标记(0手动续费;1自动续费;2到期不续费)



8451
8452
8453
# File 'lib/v20180709/models.rb', line 8451

def RenewFlag
  @RenewFlag
end

Instance Method Details

#deserialize(params) ⇒ Object



8459
8460
8461
8462
8463
# File 'lib/v20180709/models.rb', line 8459

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