Class: TencentCloud::Apigateway::V20180808::ImportOpenApiRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ImportOpenApiRequest
- Defined in:
- lib/v20180808/models.rb
Overview
ImportOpenApi请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serviceid = nil, content = nil, encodetype = nil, contentversion = nil) ⇒ ImportOpenApiRequest
constructor
A new instance of ImportOpenApiRequest.
Constructor Details
#initialize(serviceid = nil, content = nil, encodetype = nil, contentversion = nil) ⇒ ImportOpenApiRequest
Returns a new instance of ImportOpenApiRequest.
6613 6614 6615 6616 6617 6618 |
# File 'lib/v20180808/models.rb', line 6613 def initialize(serviceid=nil, content=nil, encodetype=nil, contentversion=nil) @ServiceId = serviceid @Content = content @EncodeType = encodetype @ContentVersion = contentversion end |
Instance Attribute Details
#Content ⇒ Object
6611 6612 6613 |
# File 'lib/v20180808/models.rb', line 6611 def Content @Content end |
#ContentVersion ⇒ Object
6611 6612 6613 |
# File 'lib/v20180808/models.rb', line 6611 def ContentVersion @ContentVersion end |
#EncodeType ⇒ Object
6611 6612 6613 |
# File 'lib/v20180808/models.rb', line 6611 def EncodeType @EncodeType end |
#ServiceId ⇒ Object
6611 6612 6613 |
# File 'lib/v20180808/models.rb', line 6611 def ServiceId @ServiceId end |
Instance Method Details
#deserialize(params) ⇒ Object
6620 6621 6622 6623 6624 6625 |
# File 'lib/v20180808/models.rb', line 6620 def deserialize(params) @ServiceId = params['ServiceId'] @Content = params['Content'] @EncodeType = params['EncodeType'] @ContentVersion = params['ContentVersion'] end |