Class: TencentCloud::Eb::V20210416::TextParams
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::TextParams
- Defined in:
- lib/v20210416/models.rb
Overview
描述如何切分数据
Instance Attribute Summary collapse
-
#Regex ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Separator ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(separator = nil, regex = nil) ⇒ TextParams
constructor
A new instance of TextParams.
Constructor Details
#initialize(separator = nil, regex = nil) ⇒ TextParams
Returns a new instance of TextParams.
2415 2416 2417 2418 |
# File 'lib/v20210416/models.rb', line 2415 def initialize(separator=nil, regex=nil) @Separator = separator @Regex = regex end |
Instance Attribute Details
#Regex ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2413 2414 2415 |
# File 'lib/v20210416/models.rb', line 2413 def Regex @Regex end |
#Separator ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2413 2414 2415 |
# File 'lib/v20210416/models.rb', line 2413 def Separator @Separator end |
Instance Method Details
#deserialize(params) ⇒ Object
2420 2421 2422 2423 |
# File 'lib/v20210416/models.rb', line 2420 def deserialize(params) @Separator = params['Separator'] @Regex = params['Regex'] end |