Class: TencentCloud::Apigateway::V20180808::CreatePluginRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::CreatePluginRequest
- Defined in:
- lib/v20180808/models.rb
Overview
CreatePlugin请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pluginname = nil, plugintype = nil, plugindata = nil, description = nil, tags = nil) ⇒ CreatePluginRequest
constructor
A new instance of CreatePluginRequest.
Constructor Details
#initialize(pluginname = nil, plugintype = nil, plugindata = nil, description = nil, tags = nil) ⇒ CreatePluginRequest
Returns a new instance of CreatePluginRequest.
2503 2504 2505 2506 2507 2508 2509 |
# File 'lib/v20180808/models.rb', line 2503 def initialize(pluginname=nil, plugintype=nil, plugindata=nil, description=nil, =nil) @PluginName = pluginname @PluginType = plugintype @PluginData = plugindata @Description = description @Tags = end |
Instance Attribute Details
#Description ⇒ Object
2501 2502 2503 |
# File 'lib/v20180808/models.rb', line 2501 def Description @Description end |
#PluginData ⇒ Object
2501 2502 2503 |
# File 'lib/v20180808/models.rb', line 2501 def PluginData @PluginData end |
#PluginName ⇒ Object
2501 2502 2503 |
# File 'lib/v20180808/models.rb', line 2501 def PluginName @PluginName end |
#PluginType ⇒ Object
2501 2502 2503 |
# File 'lib/v20180808/models.rb', line 2501 def PluginType @PluginType end |
#Tags ⇒ Object
2501 2502 2503 |
# File 'lib/v20180808/models.rb', line 2501 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 |
# File 'lib/v20180808/models.rb', line 2511 def deserialize(params) @PluginName = params['PluginName'] @PluginType = params['PluginType'] @PluginData = params['PluginData'] @Description = params['Description'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |