Class: TencentCloud::Cdn::V20180606::OriginPullTimeout
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::OriginPullTimeout
- Defined in:
- lib/v20180606/models.rb
Overview
回源超时配置
Instance Attribute Summary collapse
-
#ConnectTimeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ReceiveTimeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(connecttimeout = nil, receivetimeout = nil) ⇒ OriginPullTimeout
constructor
A new instance of OriginPullTimeout.
Constructor Details
#initialize(connecttimeout = nil, receivetimeout = nil) ⇒ OriginPullTimeout
Returns a new instance of OriginPullTimeout.
10224 10225 10226 10227 |
# File 'lib/v20180606/models.rb', line 10224 def initialize(connecttimeout=nil, receivetimeout=nil) @ConnectTimeout = connecttimeout @ReceiveTimeout = receivetimeout end |
Instance Attribute Details
#ConnectTimeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
10222 10223 10224 |
# File 'lib/v20180606/models.rb', line 10222 def ConnectTimeout @ConnectTimeout end |
#ReceiveTimeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
10222 10223 10224 |
# File 'lib/v20180606/models.rb', line 10222 def ReceiveTimeout @ReceiveTimeout end |
Instance Method Details
#deserialize(params) ⇒ Object
10229 10230 10231 10232 |
# File 'lib/v20180606/models.rb', line 10229 def deserialize(params) @ConnectTimeout = params['ConnectTimeout'] @ReceiveTimeout = params['ReceiveTimeout'] end |