Class: TencentCloud::Teo::V20220901::APIService
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::APIService
- Defined in:
- lib/v20220901/models.rb
Overview
API 服务配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, basepath = nil) ⇒ APIService
constructor
A new instance of APIService.
Constructor Details
#initialize(id = nil, name = nil, basepath = nil) ⇒ APIService
Returns a new instance of APIService.
67 68 69 70 71 |
# File 'lib/v20220901/models.rb', line 67 def initialize(id=nil, name=nil, basepath=nil) @Id = id @Name = name @BasePath = basepath end |
Instance Attribute Details
#BasePath ⇒ Object
65 66 67 |
# File 'lib/v20220901/models.rb', line 65 def BasePath @BasePath end |
#Id ⇒ Object
65 66 67 |
# File 'lib/v20220901/models.rb', line 65 def Id @Id end |
#Name ⇒ Object
65 66 67 |
# File 'lib/v20220901/models.rb', line 65 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
73 74 75 76 77 |
# File 'lib/v20220901/models.rb', line 73 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @BasePath = params['BasePath'] end |