Class: TencentCloud::Apigateway::V20180808::DemoteServiceUsagePlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::DemoteServiceUsagePlanRequest
- Defined in:
- lib/v20180808/models.rb
Overview
DemoteServiceUsagePlan请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usageplanid = nil, serviceid = nil, environment = nil) ⇒ DemoteServiceUsagePlanRequest
constructor
A new instance of DemoteServiceUsagePlanRequest.
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
#Environment ⇒ Object
3222 3223 3224 |
# File 'lib/v20180808/models.rb', line 3222 def Environment @Environment end |
#ServiceId ⇒ Object
3222 3223 3224 |
# File 'lib/v20180808/models.rb', line 3222 def ServiceId @ServiceId end |
#UsagePlanId ⇒ Object
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 |