Class: TencentCloud::Apigateway::V20180808::DemoteServiceUsagePlanRequest

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

Overview

DemoteServiceUsagePlan请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(usageplanid = nil, serviceid = nil, environment = nil) ⇒ DemoteServiceUsagePlanRequest

Returns a new instance of DemoteServiceUsagePlanRequest.



3224
3225
3226
3227
3228
# File 'lib/v20180808/models.rb', line 3224

def initialize(usageplanid=nil, serviceid=nil, environment=nil)
  @UsagePlanId = usageplanid
  @ServiceId = serviceid
  @Environment = environment
end

Instance Attribute Details

#EnvironmentObject

Parameters:

  • UsagePlanId:

    使用计划ID。

  • ServiceId:

    待降级的服务唯一 ID。

  • Environment:

    环境名称。



3222
3223
3224
# File 'lib/v20180808/models.rb', line 3222

def Environment
  @Environment
end

#ServiceIdObject

Parameters:

  • UsagePlanId:

    使用计划ID。

  • ServiceId:

    待降级的服务唯一 ID。

  • Environment:

    环境名称。



3222
3223
3224
# File 'lib/v20180808/models.rb', line 3222

def ServiceId
  @ServiceId
end

#UsagePlanIdObject

Parameters:

  • UsagePlanId:

    使用计划ID。

  • ServiceId:

    待降级的服务唯一 ID。

  • Environment:

    环境名称。



3222
3223
3224
# File 'lib/v20180808/models.rb', line 3222

def UsagePlanId
  @UsagePlanId
end

Instance Method Details

#deserialize(params) ⇒ Object



3230
3231
3232
3233
3234
# File 'lib/v20180808/models.rb', line 3230

def deserialize(params)
  @UsagePlanId = params['UsagePlanId']
  @ServiceId = params['ServiceId']
  @Environment = params['Environment']
end