Class: TencentCloud::Clb::V20180317::RewriteTarget
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::RewriteTarget
- Defined in:
- lib/v20180317/models.rb
Overview
重定向目标的信息
Instance Attribute Summary collapse
-
#RewriteCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RewriteType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TakeUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetListenerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetLocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetlistenerid = nil, targetlocationid = nil, rewritecode = nil, takeurl = nil, rewritetype = nil) ⇒ RewriteTarget
constructor
A new instance of RewriteTarget.
Constructor Details
#initialize(targetlistenerid = nil, targetlocationid = nil, rewritecode = nil, takeurl = nil, rewritetype = nil) ⇒ RewriteTarget
Returns a new instance of RewriteTarget.
7618 7619 7620 7621 7622 7623 7624 |
# File 'lib/v20180317/models.rb', line 7618 def initialize(targetlistenerid=nil, targetlocationid=nil, rewritecode=nil, takeurl=nil, rewritetype=nil) @TargetListenerId = targetlistenerid @TargetLocationId = targetlocationid @RewriteCode = rewritecode @TakeUrl = takeurl @RewriteType = rewritetype end |
Instance Attribute Details
#RewriteCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7616 7617 7618 |
# File 'lib/v20180317/models.rb', line 7616 def RewriteCode @RewriteCode end |
#RewriteType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7616 7617 7618 |
# File 'lib/v20180317/models.rb', line 7616 def RewriteType @RewriteType end |
#TakeUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7616 7617 7618 |
# File 'lib/v20180317/models.rb', line 7616 def TakeUrl @TakeUrl end |
#TargetListenerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7616 7617 7618 |
# File 'lib/v20180317/models.rb', line 7616 def TargetListenerId @TargetListenerId end |
#TargetLocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7616 7617 7618 |
# File 'lib/v20180317/models.rb', line 7616 def TargetLocationId @TargetLocationId end |
Instance Method Details
#deserialize(params) ⇒ Object
7626 7627 7628 7629 7630 7631 7632 |
# File 'lib/v20180317/models.rb', line 7626 def deserialize(params) @TargetListenerId = params['TargetListenerId'] @TargetLocationId = params['TargetLocationId'] @RewriteCode = params['RewriteCode'] @TakeUrl = params['TakeUrl'] @RewriteType = params['RewriteType'] end |