Class: TencentCloud::Vod::V20240718::CreateIncrementalMigrationStrategyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20240718::CreateIncrementalMigrationStrategyRequest
- Defined in:
- lib/v20240718/models.rb
Overview
CreateIncrementalMigrationStrategy请求参数结构体
Instance Attribute Summary collapse
-
#BucketId ⇒ Object
<li>HTTP:HTTP 源。</li>.
-
#HttpOriginConfig ⇒ Object
<li>HTTP:HTTP 源。</li>.
-
#OriginType ⇒ Object
<li>HTTP:HTTP 源。</li>.
-
#StrategyName ⇒ Object
<li>HTTP:HTTP 源。</li>.
-
#SubAppId ⇒ Object
<li>HTTP:HTTP 源。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subappid = nil, bucketid = nil, strategyname = nil, origintype = nil, httporiginconfig = nil) ⇒ CreateIncrementalMigrationStrategyRequest
constructor
A new instance of CreateIncrementalMigrationStrategyRequest.
Constructor Details
#initialize(subappid = nil, bucketid = nil, strategyname = nil, origintype = nil, httporiginconfig = nil) ⇒ CreateIncrementalMigrationStrategyRequest
Returns a new instance of CreateIncrementalMigrationStrategyRequest.
36 37 38 39 40 41 42 |
# File 'lib/v20240718/models.rb', line 36 def initialize(subappid=nil, bucketid=nil, strategyname=nil, origintype=nil, httporiginconfig=nil) @SubAppId = subappid @BucketId = bucketid @StrategyName = strategyname @OriginType = origintype @HttpOriginConfig = httporiginconfig end |
Instance Attribute Details
#BucketId ⇒ Object
<li>HTTP:HTTP 源。</li>
34 35 36 |
# File 'lib/v20240718/models.rb', line 34 def BucketId @BucketId end |
#HttpOriginConfig ⇒ Object
<li>HTTP:HTTP 源。</li>
34 35 36 |
# File 'lib/v20240718/models.rb', line 34 def HttpOriginConfig @HttpOriginConfig end |
#OriginType ⇒ Object
<li>HTTP:HTTP 源。</li>
34 35 36 |
# File 'lib/v20240718/models.rb', line 34 def OriginType @OriginType end |
#StrategyName ⇒ Object
<li>HTTP:HTTP 源。</li>
34 35 36 |
# File 'lib/v20240718/models.rb', line 34 def StrategyName @StrategyName end |
#SubAppId ⇒ Object
<li>HTTP:HTTP 源。</li>
34 35 36 |
# File 'lib/v20240718/models.rb', line 34 def SubAppId @SubAppId end |
Instance Method Details
#deserialize(params) ⇒ Object
44 45 46 47 48 49 50 51 52 53 |
# File 'lib/v20240718/models.rb', line 44 def deserialize(params) @SubAppId = params['SubAppId'] @BucketId = params['BucketId'] @StrategyName = params['StrategyName'] @OriginType = params['OriginType'] unless params['HttpOriginConfig'].nil? @HttpOriginConfig = IncrementalMigrationHttpOriginConfig.new @HttpOriginConfig.deserialize(params['HttpOriginConfig']) end end |