Class: TencentCloud::Apigateway::V20180808::BindEnvironmentRequest

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

Overview

BindEnvironment请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(usageplanids = nil, bindtype = nil, environment = nil, serviceid = nil, apiids = nil) ⇒ BindEnvironmentRequest

Returns a new instance of BindEnvironmentRequest.



1446
1447
1448
1449
1450
1451
1452
# File 'lib/v20180808/models.rb', line 1446

def initialize(usageplanids=nil, bindtype=nil, environment=nil, serviceid=nil, apiids=nil)
  @UsagePlanIds = usageplanids
  @BindType = bindtype
  @Environment = environment
  @ServiceId = serviceid
  @ApiIds = apiids
end

Instance Attribute Details

#ApiIdsObject

Parameters:

  • UsagePlanIds:

    待绑定的使用计划唯一 ID 列表。

  • BindType:

    绑定类型,取值为API、SERVICE,默认值为SERVICE。

  • Environment:

    待绑定的环境。

  • ServiceId:

    待绑定的服务唯一 ID。

  • ApiIds:

    API唯一ID数组,当bindType=API时,需要传入此参数。



1444
1445
1446
# File 'lib/v20180808/models.rb', line 1444

def ApiIds
  @ApiIds
end

#BindTypeObject

Parameters:

  • UsagePlanIds:

    待绑定的使用计划唯一 ID 列表。

  • BindType:

    绑定类型,取值为API、SERVICE,默认值为SERVICE。

  • Environment:

    待绑定的环境。

  • ServiceId:

    待绑定的服务唯一 ID。

  • ApiIds:

    API唯一ID数组,当bindType=API时,需要传入此参数。



1444
1445
1446
# File 'lib/v20180808/models.rb', line 1444

def BindType
  @BindType
end

#EnvironmentObject

Parameters:

  • UsagePlanIds:

    待绑定的使用计划唯一 ID 列表。

  • BindType:

    绑定类型,取值为API、SERVICE,默认值为SERVICE。

  • Environment:

    待绑定的环境。

  • ServiceId:

    待绑定的服务唯一 ID。

  • ApiIds:

    API唯一ID数组,当bindType=API时,需要传入此参数。



1444
1445
1446
# File 'lib/v20180808/models.rb', line 1444

def Environment
  @Environment
end

#ServiceIdObject

Parameters:

  • UsagePlanIds:

    待绑定的使用计划唯一 ID 列表。

  • BindType:

    绑定类型,取值为API、SERVICE,默认值为SERVICE。

  • Environment:

    待绑定的环境。

  • ServiceId:

    待绑定的服务唯一 ID。

  • ApiIds:

    API唯一ID数组,当bindType=API时,需要传入此参数。



1444
1445
1446
# File 'lib/v20180808/models.rb', line 1444

def ServiceId
  @ServiceId
end

#UsagePlanIdsObject

Parameters:

  • UsagePlanIds:

    待绑定的使用计划唯一 ID 列表。

  • BindType:

    绑定类型,取值为API、SERVICE,默认值为SERVICE。

  • Environment:

    待绑定的环境。

  • ServiceId:

    待绑定的服务唯一 ID。

  • ApiIds:

    API唯一ID数组,当bindType=API时,需要传入此参数。



1444
1445
1446
# File 'lib/v20180808/models.rb', line 1444

def UsagePlanIds
  @UsagePlanIds
end

Instance Method Details

#deserialize(params) ⇒ Object



1454
1455
1456
1457
1458
1459
1460
# File 'lib/v20180808/models.rb', line 1454

def deserialize(params)
  @UsagePlanIds = params['UsagePlanIds']
  @BindType = params['BindType']
  @Environment = params['Environment']
  @ServiceId = params['ServiceId']
  @ApiIds = params['ApiIds']
end