Class: TencentCloud::Teo::V20220901::APIResource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::APIResource
- Defined in:
- lib/v20220901/models.rb
Overview
API 资源。
Instance Attribute Summary collapse
- #APIServiceIds ⇒ Object
- #Id ⇒ Object
- #Methods ⇒ Object
- #Name ⇒ Object
- #Path ⇒ Object
- #RequestConstraint ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, apiserviceids = nil, path = nil, methods = nil, requestconstraint = nil) ⇒ APIResource
constructor
A new instance of APIResource.
Constructor Details
#initialize(id = nil, name = nil, apiserviceids = nil, path = nil, methods = nil, requestconstraint = nil) ⇒ APIResource
Returns a new instance of APIResource.
37 38 39 40 41 42 43 44 |
# File 'lib/v20220901/models.rb', line 37 def initialize(id=nil, name=nil, apiserviceids=nil, path=nil, methods=nil, requestconstraint=nil) @Id = id @Name = name @APIServiceIds = apiserviceids @Path = path @Methods = methods @RequestConstraint = requestconstraint end |
Instance Attribute Details
#APIServiceIds ⇒ Object
35 36 37 |
# File 'lib/v20220901/models.rb', line 35 def APIServiceIds @APIServiceIds end |
#Id ⇒ Object
35 36 37 |
# File 'lib/v20220901/models.rb', line 35 def Id @Id end |
#Methods ⇒ Object
35 36 37 |
# File 'lib/v20220901/models.rb', line 35 def Methods @Methods end |
#Name ⇒ Object
35 36 37 |
# File 'lib/v20220901/models.rb', line 35 def Name @Name end |
#Path ⇒ Object
35 36 37 |
# File 'lib/v20220901/models.rb', line 35 def Path @Path end |
#RequestConstraint ⇒ Object
35 36 37 |
# File 'lib/v20220901/models.rb', line 35 def RequestConstraint @RequestConstraint end |
Instance Method Details
#deserialize(params) ⇒ Object
46 47 48 49 50 51 52 53 |
# File 'lib/v20220901/models.rb', line 46 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @APIServiceIds = params['APIServiceIds'] @Path = params['Path'] @Methods = params['Methods'] @RequestConstraint = params['RequestConstraint'] end |