Class: TencentCloud::Scf::V20180416::PathRewriteRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::PathRewriteRule
- Defined in:
- lib/v20180416/models.rb
Overview
路径路由重写规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(path = nil, type = nil, rewrite = nil) ⇒ PathRewriteRule
constructor
A new instance of PathRewriteRule.
Constructor Details
#initialize(path = nil, type = nil, rewrite = nil) ⇒ PathRewriteRule
Returns a new instance of PathRewriteRule.
3966 3967 3968 3969 3970 |
# File 'lib/v20180416/models.rb', line 3966 def initialize(path=nil, type=nil, rewrite=nil) @Path = path @Type = type @Rewrite = rewrite end |
Instance Attribute Details
#Path ⇒ Object
3964 3965 3966 |
# File 'lib/v20180416/models.rb', line 3964 def Path @Path end |
#Rewrite ⇒ Object
3964 3965 3966 |
# File 'lib/v20180416/models.rb', line 3964 def Rewrite @Rewrite end |
#Type ⇒ Object
3964 3965 3966 |
# File 'lib/v20180416/models.rb', line 3964 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3972 3973 3974 3975 3976 |
# File 'lib/v20180416/models.rb', line 3972 def deserialize(params) @Path = params['Path'] @Type = params['Type'] @Rewrite = params['Rewrite'] end |