Class: TencentCloud::Dayu::V20180709::CreateInstanceNameRequest

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

Overview

CreateInstanceName请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, id = nil, name = nil) ⇒ CreateInstanceNameRequest

Returns a new instance of CreateInstanceNameRequest.



811
812
813
814
815
# File 'lib/v20180709/models.rb', line 811

def initialize(business=nil, id=nil, name=nil)
  @Business = business
  @Id = id
  @Name = name
end

Instance Attribute Details

#BusinessObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Name:

    资源实例名称,长度不超过32个字符



809
810
811
# File 'lib/v20180709/models.rb', line 809

def Business
  @Business
end

#IdObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Name:

    资源实例名称,长度不超过32个字符



809
810
811
# File 'lib/v20180709/models.rb', line 809

def Id
  @Id
end

#NameObject

Parameters:

  • Business:

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

  • Id:

    资源ID

  • Name:

    资源实例名称,长度不超过32个字符



809
810
811
# File 'lib/v20180709/models.rb', line 809

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



817
818
819
820
821
# File 'lib/v20180709/models.rb', line 817

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